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.
This commit is contained in:
John MacFarlane
2025-12-05 11:13:02 +01:00
parent 6531f24540
commit a3ab4b8545
2 changed files with 14 additions and 0 deletions
+11
View File
@@ -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"
]
]
```