Skip to content

Commit

Permalink
🐛 Normalize tag identifiers to Nomalization Form C
Browse files Browse the repository at this point in the history
  • Loading branch information
aaditmshah committed Oct 17, 2022
1 parent aaac219 commit a0d5e78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ function TaggedContentParser(
codePoint === LeftCurlyBracketCodePoint
? NonVerbatimContent(state)
: VerbatimContent(state);
return { tag, content };
return { tag: tag.normalize("NFC"), content };
}

const Document = (state: State) => {
Expand Down

0 comments on commit a0d5e78

Please sign in to comment.