• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

humanspeak / svelte-markdown / 43631176222
96%

Build:
DEFAULT BRANCH: main
Ran 14 Nov 2026 07:19PM UTC
Jobs 1
Files 163
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

14 Nov 2026 07:16PM UTC coverage: 96.154% (+0.06%) from 96.096%
43631176222

push

github

web-flow
fix(parser): cap nesting depth so nested input cannot overflow the stack (#418)

* chore(competitive-intel): update state from 2026-11-08 run

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

* chore(competitive-intel): update state from 2026-11-14 run

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(parser): cap nesting depth so deeply nested input cannot overflow the stack

Deeply nested markdown (`> > > ...`, nested lists, nested HTML tags)
overflowed the call stack in the recursive renderer and crashed the
component tree in every browser (RangeError in Chrome/Safari,
InternalError in Firefox).

- Cap the parsed token tree at `options.maxNestingDepth` (default 16:
  16 blockquotes or HTML elements, 8 lists). Paragraphs, headings and
  text wrappers do not count; inline formatting gets 4 extra levels.
  Deeper content renders as plain text.
- Fall back to plain text when marked's own lexer overflows, detecting
  stack exhaustion across engines and rethrowing every other error.
- Resolve the option in buildParserOptions so equivalent values share
  one token cache key.
- Unit, component and cross-browser E2E tests; README and docs.

Closes HUM-132.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>

2279 of 2445 branches covered (93.21%)

Branch coverage included in aggregate %.

77 of 77 new or added lines in 4 files covered. (100.0%)

3221 of 3275 relevant lines covered (98.35%)

249467.4 hits per line

Jobs
ID Job ID Ran Files Coverage
1 node-22 - 43631176222.1 14 Nov 2026 07:19PM UTC 163
96.15
GitHub Action Run
Source Files on build 43631176222
  • Tree
  • List 163
  • Changed 3
  • Source Changed 3
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #43631176222
  • f9bd3e88 on github
  • Prev Build on main (#42427771320)
  • Next Build on main (#43656005183)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc