diff options
| author | Charlotte Koch <charlotte@magentastripe.com> | 2024-09-24 17:34:26 -0700 |
|---|---|---|
| committer | Charlotte Koch <charlotte@magentastripe.com> | 2024-09-24 17:34:26 -0700 |
| commit | 2cff46a8899973832a411d5cc15a2dd64dbdcd85 (patch) | |
| tree | 80b765126d75d1b6f6f453af6c855499ca8bdc03 /script/unicodify2.sed | |
| parent | 7191efe974a7ddbddd80f5ed3eaf171e963d9eda (diff) | |
Need another post-processing step to "unconvert" double quotes
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 |
