diff options
| author | John MacFarlane <[email protected]> | 2025-10-05 16:33:03 +0200 |
|---|---|---|
| committer | John MacFarlane <[email protected]> | 2025-10-05 16:33:03 +0200 |
| commit | e87b86261f9b0b9dc4df053208c7f6be6621b72a (patch) | |
| tree | 9e729b72b3ced5a45368a5d6d7c6d0393d4431c6 /test/command | |
| parent | 208142fcf2b3b255b9cb55d2062b6602b9e14780 (diff) | |
Typst writer: don't add semicolons as much.
Previously we added semicolons after inline commands not
followed by spaces, but mainly this was to deal with one issue:
the presence of a semicolon after an inline command, which
would be swallowed as a command separator (#9252).
This commits adopts an approach that should avoid so many
superfluous semicolons: it escapes semicolons that might come
right after a command. See #11196.
Diffstat (limited to 'test/command')
| -rw-r--r-- | test/command/9387.md | 2 | ||||
| -rw-r--r-- | test/command/9452.md | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/command/9387.md b/test/command/9387.md index d63171a63..89b849f13 100644 --- a/test/command/9387.md +++ b/test/command/9387.md @@ -9,7 +9,7 @@ test ] #label("my label") -See #link(label("my label"))[my label];. +See #link(label("my label"))[my label]. ``` diff --git a/test/command/9452.md b/test/command/9452.md index b3d60fca9..902e468b6 100644 --- a/test/command/9452.md +++ b/test/command/9452.md @@ -14,6 +14,6 @@ Here is a sentence @something2024. With supplement @something2024[p.~3]. -And just the year (#cite(<something2024>, form: "year");). +And just the year (#cite(<something2024>, form: "year")). ``` |
