summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
authorCharlotte Koch <charlotte@magentastripe.com>2023-12-31 14:58:26 -0800
committerCharlotte Koch <charlotte@magentastripe.com>2023-12-31 14:58:26 -0800
commitff5eaede74d81e978584ba9c732fc27346c773de (patch)
treebbb67c9799de8f491703918cbc1cdb706c0ca3f5 /script
parentd4db291d6f021ed788b3142ba5f5ddd565bcff6c (diff)
Put docx fixups into a separate file
Diffstat (limited to 'script')
-rw-r--r--script/docx_fixup.sed6
1 files changed, 6 insertions, 0 deletions
diff --git a/script/docx_fixup.sed b/script/docx_fixup.sed
new file mode 100644
index 0000000..566a76e
--- /dev/null
+++ b/script/docx_fixup.sed
@@ -0,0 +1,6 @@
+# Render a thematic break as 3 hash symbols.
+s,<\?asciidoc-hr\?>,\&\#35; \&\#35; \&\#35;,
+
+# Asciidoctor puts a zero-width space after ellipses for some reason -- get
+# rid of it.
+s,\&\#8203;,,g