Skip to content

release v1.2.10#13

Merged
deftio merged 3 commits intomainfrom
fix/url-underscore-parsing-bug-3
Apr 18, 2026
Merged

release v1.2.10#13
deftio merged 3 commits intomainfrom
fix/url-underscore-parsing-bug-3

Conversation

@deftio
Copy link
Copy Markdown
Owner

@deftio deftio commented Apr 18, 2026

Summary

  • Fix issue Markdown URL Parsing Bug #3: underscores (and other emphasis markers) in URLs were being interpreted as formatting (_mytest_<em>mytest</em> inside href/src attributes)
  • Protect rendered HTML tags with placeholders before running emphasis regexes, restore after — 6 lines, zero size impact
  • Add 45+ coverage tests for quikdown_bd.esm.js (now 100% statements/functions/lines)
  • Add issue Markdown URL Parsing Bug #3 regression tests across all parsers (quikdown, ast, json, yaml, ast_html)
  • Bump deps: dompurify, rollup, three, typescript
  • Archive the character-walking scanner experiment in dev/scanner/

Bundle sizes

Module v1.2.9 This PR Delta
Core 9.5 KB 9.8 KB +0.3 KB
Bidirectional 15.4 KB 14.6 KB -0.8 KB
Editor 84.0 KB 84.3 KB +0.3 KB

Test plan

  • 1911 tests pass (npm test)
  • quikdown.esm.js — 100% coverage (all metrics)
  • quikdown_bd.esm.js — 100% stmts/funcs/lines, 97.8% branches
  • All coverage thresholds met
  • Verify URLs with underscores render correctly: [Link](https://example.org/file_mytest_123.pdf)
  • Verify emphasis in link text still works: [click _here_](url)
  • ESLint clean

Co-authored-by: Jacob Benson jacob@qalius.com

🤖 Generated with Claude Code

@deftio deftio changed the title Fix #3: underscores in URLs parsed as emphasis release v1.2.10 Apr 18, 2026
@deftio deftio enabled auto-merge (squash) April 18, 2026 17:55
@deftio deftio force-pushed the fix/url-underscore-parsing-bug-3 branch from b7b5af3 to 3d5b691 Compare April 18, 2026 17:56
@deftio deftio merged commit 07021df into main Apr 18, 2026
2 checks passed
@deftio deftio mentioned this pull request Apr 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant