Skip to content

0.1.18

Latest

Choose a tag to compare

@dereuromark dereuromark released this 21 Nov 02:17
· 1 commit to main since this release
540daa8

carve-php 0.1.18 makes HTML tables with pipes in their cells convert quickly again, plus two block-level fixes.

Fixes

  • HTML import and the Carve writer escape a | in a table cell directly. A 73-row table with pipes in its cells now converts in 0.6s instead of 6s. The output drops a few needless escapes and renders the same (#5473).
  • On PHP 8.2 and 8.3, HTML import keeps a processing instruction containing -- or ending in - (<?a--b>) as a comment, as PHP 8.4 does, whatever the libxml version (#5473).
  • A fence after a closed +-attached fence keeps its blank lines and the lines after them as payload. Large documents that hit this need less than half the memory and output (#5220).
  • convert() renders a list with a blank line before a nested list on the fast HTML path again (carve#6026).

Full Changelog: 0.1.17...0.1.18