diff options
| author | John MacFarlane <[email protected]> | 2023-08-21 11:29:27 -0700 |
|---|---|---|
| committer | John MacFarlane <[email protected]> | 2023-08-21 11:29:27 -0700 |
| commit | 40accba747a8bbcf82260bb60316ded731233492 (patch) | |
| tree | bdebfd63ebcf9560941a9d7134bbd7742e6cea4e /test/writer.typst | |
| parent | 70329edcd7afb7b3f8f015b13ab2e734c9e31d05 (diff) | |
Typst writer: use `~` for nonbreaking space.
And escape literal `~`.
Closes #9010.
Diffstat (limited to 'test/writer.typst')
| -rw-r--r-- | test/writer.typst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/writer.typst b/test/writer.typst index d645d11b2..52837e910 100644 --- a/test/writer.typst +++ b/test/writer.typst @@ -382,7 +382,7 @@ Autonumbering: Should not be a list item: -M.A. 2007 +M.A.~2007 B. Williams @@ -588,12 +588,12 @@ This is code: `>`, `$`, `\`, `\$`, `<html>`. #strike[This is #emph[strikeout].] -Superscripts: a#super[bc]d a#super[#emph[hello]] a#super[hello there]. +Superscripts: a#super[bc]d a#super[#emph[hello]] a#super[hello~there]. -Subscripts: H#sub[2]O, H#sub[23]O, H#sub[many of them]O. +Subscripts: H#sub[2]O, H#sub[23]O, H#sub[many~of~them]O. These should not be superscripts or subscripts, because of the unescaped spaces: -a^b c^d, a~b c~d. +a^b c^d, a\~b c\~d. #horizontalrule |
