Skip to content

Commit e1f1315

Browse files
1.7.22
1 parent 3bcc377 commit e1f1315

4 files changed

Lines changed: 9 additions & 8 deletions

File tree

js/.changeset/issue-119-br-in-list-item.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

js/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @link-assistant/web-capture
22

3+
## 1.7.22
4+
5+
### Patch Changes
6+
7+
- a339ca2: 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.
8+
39
## 1.7.21
410

511
### Patch Changes

js/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@link-assistant/web-capture",
3-
"version": "1.7.21",
3+
"version": "1.7.22",
44
"description": "CLI and microservice to render web pages as HTML, Markdown, or PNG",
55
"main": "src/index.js",
66
"bin": {

0 commit comments

Comments
 (0)