don't filter strong/em; sort list of tags

This commit is contained in:
Damien Elmes 2020-02-07 17:12:43 +10:00
parent 1fbd925f4c
commit be6b8cd131

View file

@ -424,25 +424,27 @@ for (const tag of TAGS_WITHOUT_ATTRS) {
} }
TAGS_WITHOUT_ATTRS = [ TAGS_WITHOUT_ATTRS = [
"B",
"BLOCKQUOTE",
"CODE",
"DD",
"DL",
"DT",
"EM",
"H1", "H1",
"H2", "H2",
"H3", "H3",
"LI",
"UL",
"OL",
"BLOCKQUOTE",
"CODE",
"PRE",
"TABLE",
"DD",
"DT",
"DL",
"B",
"U",
"I", "I",
"RUBY", "LI",
"RT", "OL",
"PRE",
"RP", "RP",
"RT",
"RUBY",
"STRONG",
"TABLE",
"U",
"UL",
]; ];
for (const tag of TAGS_WITHOUT_ATTRS) { for (const tag of TAGS_WITHOUT_ATTRS) {
allowedTagsExtended[tag] = { attrs: [] }; allowedTagsExtended[tag] = { attrs: [] };