Releases: link-assistant/web-capture
[Rust] v0.3.15
[JavaScript] v1.7.23
Fix <br><br> collapsing into two CommonMark hard breaks (`
) instead of a paragraph break (
). Google Docs export-html marks paragraph boundaries with , which Turndown faithfully emitted as two trailing-two-space-newline pairs. Renderers (GitHub, MkDocs, Pandoc) then joined the surrounding lines into a single
with a, cramming captions against images with no vertical spacing, and the "blank" separator line in the markdown source actually carried trailing whitespace that polluted diffs. Two or more adjacent hard breaks now coalesce to
after Turndown runs, restoring true paragraph breaks. Applied in bothconvertHtmlToMarkdown(used by--capture api) and convertHtmlToMarkdownEnhanced`.
Related Pull Request: #125
[Rust] v0.3.14
[Rust] v0.3.13
[Rust] v0.3.12
[JavaScript] v1.7.22
Fix --capture api collapsing <br>-separated lines inside list items into one run. The Google Docs export-html path lost line breaks when a <br> was the leading or trailing child of an inline element (e.g. a <span> between bold runs), because Turndown trims inner content of inline elements with edge whitespace. The HTML pre-processing now hoists those edge <br>s out of their inline parents before Turndown sees them, restoring CommonMark hard breaks. Additionally, the post-processor's double-space collapse no longer eats the two trailing spaces that mark a hard break.
Related Pull Request: #124
[JavaScript] v1.7.21
Number consecutive top-level <ol>s continuously across the document (1, 2, 3, ... N) so JS and Rust HTML→Markdown converters agree. <ol start="N"> resets the counter and is honoured by both implementations. Nested ordered lists keep their own per-list numbering.
Related Pull Request: #123
[JavaScript] v1.7.20
Preserve hierarchical heading numbering (e.g. 13, 13.1) in API-path Markdown conversion. Numbered headings wrapped in <ol><li><hN> no longer get renumbered to 1, and sub-numbered headings render with their original number on a clean line.
Related Pull Request: #122