mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 14:32:22 -04:00
don't filter strong/em; sort list of tags
This commit is contained in:
parent
1fbd925f4c
commit
be6b8cd131
1 changed files with 16 additions and 14 deletions
|
@ -424,25 +424,27 @@ for (const tag of TAGS_WITHOUT_ATTRS) {
|
|||
}
|
||||
|
||||
TAGS_WITHOUT_ATTRS = [
|
||||
"B",
|
||||
"BLOCKQUOTE",
|
||||
"CODE",
|
||||
"DD",
|
||||
"DL",
|
||||
"DT",
|
||||
"EM",
|
||||
"H1",
|
||||
"H2",
|
||||
"H3",
|
||||
"LI",
|
||||
"UL",
|
||||
"OL",
|
||||
"BLOCKQUOTE",
|
||||
"CODE",
|
||||
"PRE",
|
||||
"TABLE",
|
||||
"DD",
|
||||
"DT",
|
||||
"DL",
|
||||
"B",
|
||||
"U",
|
||||
"I",
|
||||
"RUBY",
|
||||
"RT",
|
||||
"LI",
|
||||
"OL",
|
||||
"PRE",
|
||||
"RP",
|
||||
"RT",
|
||||
"RUBY",
|
||||
"STRONG",
|
||||
"TABLE",
|
||||
"U",
|
||||
"UL",
|
||||
];
|
||||
for (const tag of TAGS_WITHOUT_ATTRS) {
|
||||
allowedTagsExtended[tag] = { attrs: [] };
|
||||
|
|
Loading…
Reference in a new issue