FEATURE: supports mark tag in chat messages (#28949)

This brings feature parity with posts where you can use this tag.
This commit is contained in:
Joffrey JAFFEUX
2024-09-17 20:52:34 +02:00
committed by GitHub
parent c93235f4f5
commit 2aca41914a
6 changed files with 28 additions and 10 deletions

View File

@ -2,7 +2,7 @@
// note that allow lister will run on top of it, so if a tag is allowed here but not on
// the allow list, then it won't show up
const inline_names = ["kbd"];
const inline_names = ["kbd", "mark"];
const patterns = inline_names.join("|");
const attr_name = "[a-zA-Z_:][a-zA-Z0-9:._-]*";