mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-01 21:25:48 +00:00
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.
12 lines
156 B
Markdown
12 lines
156 B
Markdown
```
|
|
% pandoc -f html -t native
|
|
<p>A<style></style>B</p>
|
|
^D
|
|
[ Para
|
|
[ Str "A"
|
|
, RawInline (Format "html") "<style></style>"
|
|
, Str "B"
|
|
]
|
|
]
|
|
```
|