From 4ede66577ea52d54805fd198ac734bbf632bf370 Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Wed, 4 Nov 2026 16:22:57 +0100 Subject: [PATCH] Write mentions and inline cards holding data as HTML elements, not the carry --- CHANGELOG.md | 11 ++--- README.md | 8 ++-- docs/decisions.md | 17 ++++--- spec/html.md | 17 ++++--- src/html/emit/adf-to-html.test.ts | 24 +++++++--- src/html/emit/node-element.ts | 20 ++++----- src/html/node-element.ts | 71 ++++++++++++++++++++++++++---- src/html/parse/carry-element.ts | 5 ++- src/html/parse/html-to-adf.test.ts | 25 +++++++++-- src/html/parse/node-element.ts | 32 +++++--------- todo.md | 27 +++++------- 11 files changed, 166 insertions(+), 91 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bc86b51..edffe78 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,17 +9,18 @@ libraries and Atlassian's own paths. - `adfToHtml` writes ADF as HTML: paragraphs, headings, lists, quotes, code blocks, rules, hard breaks, a centered, uncaptioned external image holding no attribute but its URL and alt, and - `em`, `strong`, `code` and links as their elements. An unmarked emoji, status, date and card - holding a URL and no `data` are ``, ``, - `