diff options
| author | John MacFarlane <[email protected]> | 2023-03-03 18:14:06 -0800 |
|---|---|---|
| committer | John MacFarlane <[email protected]> | 2023-03-03 18:14:06 -0800 |
| commit | 8898c5336dfdd9c43cec20cf9763f65d9ff9dbb5 (patch) | |
| tree | 3cea7a9b699d709986a3b3fdf8fc04d78464ff65 /test/command | |
| parent | becabf5d682b6f3fad1d48354ae3d8a26b74fa7a (diff) | |
Asciidoc writer: Properly escape `|` in table cells.
Closes #8665.
Diffstat (limited to 'test/command')
| -rw-r--r-- | test/command/8665.md | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/test/command/8665.md b/test/command/8665.md new file mode 100644 index 000000000..15d926d26 --- /dev/null +++ b/test/command/8665.md @@ -0,0 +1,29 @@ +``` +% pandoc -f docbook -t asciidoctor +<informaltable frame="all" rowsep="1" colsep="1"> + <tgroup cols="1"> + <thead> + <row> + <entry align="left" valign="top">h1</entry> + <entry align="left" valign="top">h2</entry> + </row> + </thead> + <tbody> + <row> + <entry align="left" valign="top"> + <simpara>!@#$%^&*(){}|~?+-',."<>[]\`</simpara> + </entry> + <entry align="left" valign="top"> + <simpara>col 2</simpara> + </entry> + </row> + </tbody> + </tgroup> +</informaltable> +^D +[cols=",",options="header",] +|=== +|h1 |h2 +|!@#$%^&*()\{}\|~?+-',."<>[]\` |col 2 +|=== +``` |
