mirror of
https://github.com/ankitects/anki.git
synced 2025-09-25 01:06:35 -04:00
fix bold/italics/underline regression
This commit is contained in:
parent
9d6523e4dc
commit
4f4a05e1ae
1 changed files with 1 additions and 1 deletions
|
@ -380,7 +380,7 @@ for (i = 0; i < TAGS_WITHOUT_ATTRS.length; i++) {
|
||||||
}
|
}
|
||||||
|
|
||||||
TAGS_WITHOUT_ATTRS = ["H1", "H2", "H3", "LI", "UL", "OL", "BLOCKQUOTE", "CODE",
|
TAGS_WITHOUT_ATTRS = ["H1", "H2", "H3", "LI", "UL", "OL", "BLOCKQUOTE", "CODE",
|
||||||
"PRE", "TABLE", "DD", "DT", "DL"];
|
"PRE", "TABLE", "DD", "DT", "DL", "B", "U", "I"];
|
||||||
for (i = 0; i < TAGS_WITHOUT_ATTRS.length; i++) {
|
for (i = 0; i < TAGS_WITHOUT_ATTRS.length; i++) {
|
||||||
allowedTagsExtended[TAGS_WITHOUT_ATTRS[i]] = {"attrs": []};
|
allowedTagsExtended[TAGS_WITHOUT_ATTRS[i]] = {"attrs": []};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue