diff options
Diffstat (limited to 'script/unicodify2.sed')
| -rw-r--r-- | script/unicodify2.sed | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/script/unicodify2.sed b/script/unicodify2.sed new file mode 100644 index 0000000..f78c65e --- /dev/null +++ b/script/unicodify2.sed @@ -0,0 +1,8 @@ +# WilloraPDF extension: explicit "unmatched" double-quote shortcuts. +# +# This is to work around a shortcoming in Asciidoctor when a double-quote is +# right up against a non-word character -- em-dashes, ellipses, etc. TL;DR +# it's better to let Asciidoctor handle ("`) and (`") automatically by +# default EXCEPT FOR the times we need to wrangle it ourselves. +s,\&_OPENDOUBLEQUOTE;,\"\`,g +s,\&_CLOSEDOUBLEQUOTE;,\`\",g |
