diff options
author | Albert Krewinkel <albert@zeitkraut.de> | 2021-04-16 22:13:29 +0200 |
---|---|---|
committer | Albert Krewinkel <albert@zeitkraut.de> | 2021-04-16 22:47:37 +0200 |
commit | 5f79a66ed64e9b0cc326e467dcb17239f1596fcc (patch) | |
tree | a6389603b3580ecc84bf34b65a9205fc97858a8b /test/command | |
parent | 2e7fee9c3c48e2492340a38d3a387e4f9ea0c913 (diff) | |
download | pandoc-5f79a66ed64e9b0cc326e467dcb17239f1596fcc.tar.gz |
JATS writer: reduce unnecessary use of <p> elements for wrapping
The `<p>` element is used for wrapping in cases were the contents would
otherwise not be allowed in a certain context. Unnecessary wrapping is
avoided, especially around quotes (`<disp-quote>` elements).
Closes: #7227
Diffstat (limited to 'test/command')
-rw-r--r-- | test/command/7041.md | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/test/command/7041.md b/test/command/7041.md new file mode 100644 index 000000000..1773963b8 --- /dev/null +++ b/test/command/7041.md @@ -0,0 +1,23 @@ +``` +% pandoc -f html -t jats +<table> + <tr><td><blockquote>Fly, you fools!</blockquote></td></tr> +</table> +^D +<table-wrap> + <table> + <colgroup> + <col width="100%" /> + </colgroup> + <tbody> + <tr> + <td><p specific-use="wrapper"> + <disp-quote> + <p>Fly, you fools!</p> + </disp-quote> + </p></td> + </tr> + </tbody> + </table> +</table-wrap> +``` |