aboutsummaryrefslogtreecommitdiff
path: root/test/command
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2025-04-18 10:46:57 -0700
committerJohn MacFarlane <[email protected]>2025-04-18 10:47:47 -0700
commitec08f03782371b036416fbf4eede3002e000fff5 (patch)
tree798268c829fce8754b0dc5003433290ded537b2e /test/command
parent48f881d74620beddaa6f4c96c2239d179089b059 (diff)
OpenDocument writer: fix character styles in footnotes.
Character styles governing the position of the footnote reference should not be imposed on the footnote text. Closes #10791.
Diffstat (limited to 'test/command')
-rw-r--r--test/command/10791.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/command/10791.md b/test/command/10791.md
new file mode 100644
index 000000000..e44878cb6
--- /dev/null
+++ b/test/command/10791.md
@@ -0,0 +1,14 @@
+```
+% pandoc -t opendocument
+Aboard **the luxury cruise ship Heart of the Ocean[^1] in the Atlantic Ocean**...
+
+[^1]: **Heart of the Ocean** (海洋之心) – The Heart of the Ocean
+^D
+<text:p text:style-name="Text_20_body">Aboard
+<text:span text:style-name="T1">the luxury cruise ship Heart of the
+Ocean</text:span><text:note text:id="ftn0" text:note-class="footnote"><text:note-citation>1</text:note-citation><text:note-body><text:p text:style-name="Footnote"><text:span text:style-name="T1">Heart
+of the Ocean</text:span> (海洋之心) – The Heart of the
+Ocean</text:p></text:note-body></text:note><text:span text:style-name="T1">
+in the Atlantic Ocean</text:span>…</text:p>
+
+```