aboutsummaryrefslogtreecommitdiff
path: root/test/command
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2022-05-18 09:55:22 -0700
committerJohn MacFarlane <[email protected]>2022-05-18 09:55:22 -0700
commitb8fb79b5c0d3d2dc07f321e633d6b24a800ef130 (patch)
treeea54a2384b4034270be35660f8c7d5402b09d304 /test/command
parent6ea83c185c406d8c81d22da02da4ece0c1ba161f (diff)
ICML writer: support custom-style attribute on Table.
Closes #8079.
Diffstat (limited to 'test/command')
-rw-r--r--test/command/8079.md19
1 files changed, 19 insertions, 0 deletions
diff --git a/test/command/8079.md b/test/command/8079.md
new file mode 100644
index 000000000..a6adf491d
--- /dev/null
+++ b/test/command/8079.md
@@ -0,0 +1,19 @@
+```
+% pandoc -f html -t icml
+<table custom-style="Foo">
+<tr><td>one</td></tr>
+</table>
+^D
+<Table AppliedTableStyle="TableStyle/Foo" HeaderRowCount="0" BodyRowCount="1" ColumnCount="1">
+ <Column Name="0" />
+ <Cell Name="0:0" AppliedCellStyle="CellStyle/Cell">
+ <ParagraphStyleRange AppliedParagraphStyle="ParagraphStyle/TablePar">
+ <CharacterStyleRange AppliedCharacterStyle="$ID/NormalCharacterStyle">
+ <Content>one</Content>
+ </CharacterStyleRange>
+ </ParagraphStyleRange>
+ </Cell>
+</Table>
+<ParagraphStyleRange AppliedParagraphStyle="ParagraphStyle/TableCaption">
+</ParagraphStyleRange>
+```