From 9730c351123b4958f4bcf78d89377799efca9d9d Mon Sep 17 00:00:00 2001
From: Lilleman auf Larv
Date: Sun, 15 Nov 2026 02:48:06 +0100
Subject: [PATCH] Pin a size written as an exponent or with a space, and a task
item's text holding a bare <
---
src/html/parse/html-to-adf.test.ts | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/html/parse/html-to-adf.test.ts b/src/html/parse/html-to-adf.test.ts
index ab5889a..57719bd 100644
--- a/src/html/parse/html-to-adf.test.ts
+++ b/src/html/parse/html-to-adf.test.ts
@@ -722,6 +722,9 @@ const pinnedRefusals: readonly (readonly [string, string])[] = [
['
a < b
\n', 'unmappable-html at /content/0:
ends the paragraph, and its text spells < as <: found "< b\\n"'],
['
\nx\n
\n', 'unmappable-html at /content/0/content/0: as written here is no list item of the dialect: found "x\\n\\n"'],
['
\n
ax
\n
\n', 'unmappable-html at /content/0/content/0: as written here is no inline element of the dialect: found "x\\n\\n"'],
+ ['\n', 'unmappable-html at /content/0/content/0: height on holds a positive whole number written as JavaScript writes it'],
+ ['\n', 'unmappable-html at /content/0/content/0: width on holds a positive whole number written as JavaScript writes it'],
+ ['
\n
a < b
\n
\n', 'unmappable-html at /content/0/content/0: an item holds inline content, then , as one line: found "< b\\n\\n"'],
]
for (const [html, expected] of pinnedRefusals) {