pandoc/test/command/7041.md
Albert Krewinkel 5f79a66ed6
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
2021-04-16 22:47:37 +02:00

407 B

% 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>