New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Text in <pre>
lost when converting <table>
in markdown to other formats
#9305
Comments
This is all expected behavior.
When you are producing fomats other than html, all the raw HTML blocks will be ignored. So the only thing that will come out are the contents of HTML elements, other than verbatim ones like I think those docs should be amended slightly, adding |
Thanks for updating the docs (and for the |
Because the contents of pre are meant to be verbatim text and hence shhould not be interpreted as markdown. |
See also #2716. |
Explain the problem.
Text inside
<pre>
tags in a markdown<table>
seems to be lost when converting the file to other formats.To reproduce, create
table.md
:Run
pandoc -t plain table.md
.Expected output:
Actual output:
Removing the
<pre>
tags or using other tags results in the correct output.Pandoc version?
3.1.11
The text was updated successfully, but these errors were encountered: