summaryrefslogtreecommitdiff
path: root/script/docx_fixup.sed
blob: ad220788e41f789d6e25f1bb356c5585e49769ee (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
# Render a thematic break as 3 hash symbols.
#
# XXX need to replace the surrounding <simpara> with whatever it takes to
# get a horizontal-rule to show up in LibreOffice
s,<\?asciidoc-hr\?>,\&\#35; \&\#35; \&\#35;,

# Asciidoctor puts a zero-width space after ellipses for some reason -- get
# rid of it.
s,\&\#8203;,,g

# End every preformatted/blockquote with an explicit newlines. It shows up
# better in LibreOffice.
s,</literallayout>,\n</literallayout>,