aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2025-12-05 11:13:02 +0100
committerJohn MacFarlane <[email protected]>2025-12-05 11:14:11 +0100
commita3ab4b8545babfb88b9ffda1cfa85de31ddc57ef (patch)
tree4e97bc767f2ca02fcbe1aac9150a7780d4ade942 /test
parent6531f245403199faa6edbfddf5ec7ba83d03f958 (diff)
HTML reader: parse inline style elements as RawInline.
This is a cleaner fix to #10643 than the reverted commit 7fe8c92. Styles are not stripped, but with this change they will not interfere with inline parsing. Closes #11246.
Diffstat (limited to 'test')
-rw-r--r--test/command/10643.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/command/10643.md b/test/command/10643.md
new file mode 100644
index 000000000..2cf41bf20
--- /dev/null
+++ b/test/command/10643.md
@@ -0,0 +1,11 @@
+```
+% pandoc -f html -t native
+<p>A<style></style>B</p>
+^D
+[ Para
+ [ Str "A"
+ , RawInline (Format "html") "<style></style>"
+ , Str "B"
+ ]
+]
+```