summaryrefslogtreecommitdiff
path: root/tests/suite/text
diff options
context:
space:
mode:
authorWenzhuo Liu <mgt@oi-wiki.org>2024-05-17 16:35:51 +0800
committerGitHub <noreply@github.com>2024-05-17 08:35:51 +0000
commit4ae376f2c7ba9621479640afbe45936c6c859cff (patch)
tree207dcf6b2f90937fa72f79ec1f33a64baa6bae08 /tests/suite/text
parent2245e02b4eacfba158e5557f31c05a5fcab151a9 (diff)
Fix raw block has extra space when end with backtick (#4162)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
Diffstat (limited to 'tests/suite/text')
-rw-r--r--tests/suite/text/raw.typ15
1 files changed, 14 insertions, 1 deletions
diff --git a/tests/suite/text/raw.typ b/tests/suite/text/raw.typ
index dce77fdb..6a3ea6bd 100644
--- a/tests/suite/text/raw.typ
+++ b/tests/suite/text/raw.typ
@@ -624,7 +624,20 @@ fn main() {
~~~~The~spaces~on~this~line~shrink
+--- issue-3820-raw-space-when-end-with-backtick ---
+```typ
+`code`
+```
+
+ ```typ
+ `code`
+ ```
+
--- raw-unclosed ---
-// Unterminated.
+// Test unterminated raw text.
+//
+// Note: This test should be the final one in the file because it messes up
+// syntax highlighting.
+//
// Error: 1-2:1 unclosed raw text
`endless