mirror of
https://activitypub.software/TransFem-org/sfm-js
synced 2024-11-24 23:15:14 +00:00
feat: parse <plain> in parseSimple (#146)
This commit is contained in:
parent
2c7e152644
commit
7dbd9f2889
1 changed files with 1 additions and 0 deletions
|
@ -170,6 +170,7 @@ export const language = P.createLanguage<TypeTable>({
|
||||||
return P.alt([
|
return P.alt([
|
||||||
r.unicodeEmoji, // Regexp
|
r.unicodeEmoji, // Regexp
|
||||||
r.emojiCode, // ":"
|
r.emojiCode, // ":"
|
||||||
|
r.plainTag, // "<plain>" // to NOT parse emojiCode inside `<plain>`
|
||||||
r.text,
|
r.text,
|
||||||
]);
|
]);
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue