Repository navigation
0.1.17
carve-php 0.1.17 implements the Carve 0.1.14 spec: + attaches blocks the same way in every container, comments no longer split what is around them, and an unclosed attribute brace stays literal text. Markdown import follows CommonMark 0.31.
Breaking
CarveConverter::convert()andconvertWithReport()return HTML without the final newline;render()and streaming keep it (#4050).carve fmtwrites thematic breaks as***(#4516).- Lint rule ids were merged or retired (
table-marker-run-padding,fence-delimiter-indentation,raw-block-syntax, thea11y/heading-jumpalias). Update suppressions that name them (#3976, #4446, #4454, #5068). - The HTML importer no longer reads
data-djot-*carriers (carve#5735, #5068). ProseMirrorRendererwritescarvePosonly withwithSourcePositions()(#4949).
Fixes
- Security: the ProseMirror bridge and Markdown import drop link, image and attribute values whose scheme the HTML target denies (carve#6009, #5193, #5194).
- Lists, notes, quotes and fences keep their lines across lazy lines, blank runs, comments and tabs, as the spec defines.
carve --astno longer crashes on a file containing{{(#4614).
Improvements
- Lint suppression comments and a set of authoring rules for Markdown habits (#4192, #4482).
carve trace <file>prints the block decision trace (#4294).- Long documents parse and lint in linear time.
Full Changelog: 0.1.16...0.1.17