Skip to content

package:html v0.15.7

Choose a tag to compare

@natebosch natebosch released this 28 Aug 20:41
· 1 commit to main since this release
c7f7a63
  • writeTextNodeAsHtml: Escape text inside <script> and <style>-like tags in foreign namespaces.
  • Fix the tokenizer failing to close CDATA blocks when encountering extra brackets
  • Require Dart 3.6
  • Limit "Noah's Ark" clause to avoid degenerate O(N^2) when parsing deeply nested formatting elements with unique attributes.
  • Added new textContent method to Node class that returns the text content of
    the node.
  • Fix XSS vulnerability in htmlToCodeMarkup() by escaping DOCTYPE, element, and attribute names.