Let header IDs have their original case
This commit is contained in:
parent
2eb7380212
commit
6aa6b596f6
1 changed files with 1 additions and 1 deletions
|
|
@ -37,7 +37,7 @@ impl Header {
|
||||||
Some(next_lexeme)
|
Some(next_lexeme)
|
||||||
if !config.ascii_dom_ids || next_lexeme.next.is_ascii() =>
|
if !config.ascii_dom_ids || next_lexeme.next.is_ascii() =>
|
||||||
{
|
{
|
||||||
next_lexeme.next.to_lowercase()
|
next_lexeme.next.clone()
|
||||||
},
|
},
|
||||||
_ => String::from("h"),
|
_ => String::from("h"),
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue