hyper_render_html 1.1.0
hyper_render_html: ^1.1.0 copied to clipboard
HTML parsing plugin for HyperRender. Converts HTML content to UDT with full CSS support.
Changelog — hyper_render_html #
1.1.0 - 2026-03-20 #
✨ New Features #
- HTML tag coverage: Full support for
h4–h6,section,article,main,aside,header,footer,nav,figure,figcaption,dl/dt/dd,summary,u,s,del,ins,small,q,cite,abbr,time,sup,sub,var,kbd,samp,bdi,bdo,dfn,wbr display: none: Elements withdisplay: noneare now correctly skipped — no more[edit]links leaking from Wikipedia-style HTML<pre>/ code blocks: Inline code and code blocks now render viaCodeBlockWidget<hr>: Renders as a styledBlockNodewith a border instead of aLineBreakNode- CSS Grid:
display: gridwith row/column track sizing,gap, and span support - RTL/BiDi:
direction: rtlfor Arabic, Hebrew, and Persian content
🐛 Bug Fixes #
- Whitespace preservation: Whitespace-only text nodes between inline elements no longer dropped — fixes missing spaces between
<span>siblings appendChildfor top-level nodes: Fixed parent reference not being set for top-level nodes added to the document root- Shared
ComputedStylemutation:_defaultStylesmap now returns.copyWith()copies — prevents cross-node style bleed - Link XSS:
javascript:,vbscript:, anddata:hrefs are sanitized and blocked <details>/<summary>: Fixed double-render issue on expanded details elements
🔬 Tests #
- Added regression tests for
display:none,<pre>, whitespace handling
1.0.0 - 2026-01-15 #
- Initial release: HTML → UDT adapter with CSS float, Flexbox, table colspan/rowspan, ruby, XSS sanitization