Skip to content

v1.15.9

Choose a tag to compare

@github-actions github-actions released this 06 Nov 23:00
Immutable release. Only release title and notes can be modified.

Bug fixes

  • Keep one-shot and streaming encoding detection consistent when an unmapped byte disqualifies the logical Hebrew candidate. Both now use the same punctuation tiebreak to select the encoding (#1637) by @gaborbernat.
  • Avoid a MemoryError and emit balanced CSS when an unterminated function reaches the nesting limit (#1641) by @gaborbernat.
  • Keep XML comments well formed when invalid characters follow or separate hyphens (#1649) by @gaborbernat.
  • Keep malformed CSS math functions stable when their raw fallback ends inside a nested function (#1645) by @gaborbernat.
  • Keep the encoded-text fuzz check aligned with current HTML select parsing when style or title content appears inside select (#1640) by @gaborbernat.
  • Normalize leading whitespace in XML processing instruction data so the serialized output remains stable when reparsed (#1648) by @gaborbernat.
  • Omit hidden elements from Markdown code blocks and spans (#1644) by @gaborbernat.
  • Omit invalid namespace declarations when serializing HTML as XML, so the output parses as XML (#1643) by @gaborbernat.
  • Preserve carriage returns in HTML nested inside Markdown table cells (#1652) by @gaborbernat.
  • Preserve declaration boundaries when a CSS value ends in an unpaired backslash (#1647) by @gaborbernat.
  • Preserve emphasis on the cells of irregular tables exported as raw HTML in Markdown (#1638) by @gaborbernat.
  • Preserve repeated spaces in image attributes when rendering Markdown tables (#1646) by @gaborbernat.
  • Preserve token separators after hex escapes in CSS function arguments (#1651) by @gaborbernat.
  • Recognize character references for control whitespace in Markdown fuzz checks (#1650) by @gaborbernat.

🐍 PyPI release

📜 Full Changelog