diff options
| author | John MacFarlane <[email protected]> | 2022-10-01 17:46:13 -0700 |
|---|---|---|
| committer | John MacFarlane <[email protected]> | 2022-10-01 17:46:13 -0700 |
| commit | dd07d8002fb01b7e4c4987dc78ff74b886fb4539 (patch) | |
| tree | 91ef95582f70ee265a62d31c1eeebec6c68e3c9b /test/command | |
| parent | 89e7e9b636d2364ef766b97c533dc3f685a794d6 (diff) | |
JATS writer: use `<break/>` for LineBreak...
in the limited contexts that accept it.
Closes #8344.
Diffstat (limited to 'test/command')
| -rw-r--r-- | test/command/8344.md | 90 |
1 files changed, 90 insertions, 0 deletions
diff --git a/test/command/8344.md b/test/command/8344.md new file mode 100644 index 000000000..c95c75aab --- /dev/null +++ b/test/command/8344.md @@ -0,0 +1,90 @@ +``` +% pandoc -t jats -s +--- +title: |- + My\ + document +... + +# Section\ +with line break + +Paragraph\ +with line break + +-------- +A B +--- --- +1\ 3 +2 4 + +*1\ 5\ +2* 6 + + 7 +-------- + +^D +<?xml version="1.0" encoding="utf-8" ?> +<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.2 20190208//EN" + "JATS-archivearticle1.dtd"> +<article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="1.2" article-type="other"> +<front> +<journal-meta> +<journal-id></journal-id> +<journal-title-group> +</journal-title-group> +<issn></issn> +<publisher> +<publisher-name></publisher-name> +</publisher> +</journal-meta> +<article-meta> +<title-group> +<article-title>My<break/>document</article-title> +</title-group> +<permissions> +</permissions> +</article-meta> +</front> +<body> +<sec id="section"> + <title>Section<break/></title> + <p>with line break</p> + <p>Paragraph + with line break</p> + <table-wrap> + <table> + <colgroup> + <col width="7%" /> + <col width="7%" /> + </colgroup> + <thead> + <tr> + <th align="left">A</th> + <th align="left">B</th> + </tr> + </thead> + <tbody> + <tr> + <td align="left">1<break/>2</td> + <td align="left">3 4</td> + </tr> + <tr> + <td align="left"><italic>1 + 2</italic></td> + <td align="left">5<break/>6</td> + </tr> + <tr> + <td align="left"></td> + <td align="left">7</td> + </tr> + </tbody> + </table> + </table-wrap> +</sec> +</body> +<back> +</back> +</article> +``` |
