hyper_render_markdown 1.3.4
hyper_render_markdown: ^1.3.4 copied to clipboard
Markdown parser plugin for HyperRender - Converts Markdown to Universal Document Tree (UDT).
Changelog โ hyper_render_markdown #
1.3.2 - 2026-05-19 #
๐ Security #
- URL scheme gate consolidated with the rest of the ecosystem โ the per-package
_isSafeUrlhelper had drifted out of sync with the rootHtmlSanitizer.isSafeUrl:file:,mhtml:, andabout:were not blocked, leaving a Markdown link like[click](file:///data/data/com.app/secret.db)as a working local-file exfiltration vector. The check now delegates to the sharedUrlSafety.isSafeinhyper_render_core, so any future scheme added in one place is added everywhere.
๐ API Naming #
MarkdownContentParserโDefaultMarkdownParserโ the new name aligns withDefaultHtmlParser/DefaultCssParserin the sibling HTML sub-package. The old name continues to compile via a@Deprecated typedef; remove the typedef in v2.0.
๐งช Tests #
- +19 tests added across
markdown_url_safety_test(per-scheme link/image neutralisation, scheme casing) andmarkdown_gfm_test(pipe tables, task lists, autolinks, fenced code blocks,enableGfm:falseopt-out behaviour, heading + blockquote shapes).
1.3.0 - 2026-05-03 #
โจ New Features #
- Section splitting:
parseToSections()now splits ath1/h2/h3boundaries for virtualized rendering โ previously ignoredchunkSizeparameter - Link safety:
javascript:anddata:href values are sanitized and blocked
๐ Bug Fixes #
- Inline bold/italic: Nested inline markers (
**bold _italic_**) now resolve correctly - Fenced code blocks: Language hint passed through to
hyper_render_highlightfor syntax coloring
1.2.0 - 2026-03-30 #
- Initial release: CommonMark Markdown โ UDT adapter (headings, bold, italic, links, code blocks, lists, blockquotes)