Skip to content

Commit

Permalink
feat: parse <plain> in parseSimple
Browse files Browse the repository at this point in the history
  • Loading branch information
anatawa12 committed Jun 15, 2024
1 parent 2c7e152 commit f0c9563
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/internal/parser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ export const language = P.createLanguage<TypeTable>({
return P.alt([
r.unicodeEmoji, // Regexp
r.emojiCode, // ":"
r.plainTag, // "<plain>" // to NOT parse emojiCode inside `<plain>`
r.text,
]);
},
Expand Down

0 comments on commit f0c9563

Please sign in to comment.