From 6aa6b596f67fcf89237136a1540cf9c9066c3f39 Mon Sep 17 00:00:00 2001 From: jutty Date: Wed, 24 Dec 2025 06:33:13 -0300 Subject: [PATCH] Let header IDs have their original case --- src/syntax/content/parser/token/header.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/syntax/content/parser/token/header.rs b/src/syntax/content/parser/token/header.rs index 3a3c6c3..cb3620f 100644 --- a/src/syntax/content/parser/token/header.rs +++ b/src/syntax/content/parser/token/header.rs @@ -37,7 +37,7 @@ impl Header { Some(next_lexeme) if !config.ascii_dom_ids || next_lexeme.next.is_ascii() => { - next_lexeme.next.to_lowercase() + next_lexeme.next.clone() }, _ => String::from("h"), };