From e13fc04c3e973da60d5f4e9cc6fc38105cd2ddf9 Mon Sep 17 00:00:00 2001 From: frozolotl <44589151+frozolotl@users.noreply.github.com> Date: Tue, 28 Mar 2023 17:04:27 +0200 Subject: Fix parsing of language in single-tick raw literals (#401) --- tests/ref/text/raw.png | Bin 18857 -> 33809 bytes tests/typ/text/raw.typ | 4 ++++ 2 files changed, 4 insertions(+) (limited to 'tests') diff --git a/tests/ref/text/raw.png b/tests/ref/text/raw.png index 7a38e1a5..845f6c21 100644 Binary files a/tests/ref/text/raw.png and b/tests/ref/text/raw.png differ diff --git a/tests/typ/text/raw.typ b/tests/typ/text/raw.typ index ecc81154..1040151c 100644 --- a/tests/typ/text/raw.typ +++ b/tests/typ/text/raw.typ @@ -37,6 +37,10 @@ The keyword ```rust let```. (``` trimmed ```) \ (``` trimmed```) \ +--- +// Single ticks should not have a language. +`rust let` + --- // First line is not dedented and leading space is still possible. ``` A -- cgit v1.2.3