mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 06:22:22 -04:00
Allow style tags in HTML editor (#1870)
This commit is contained in:
parent
a451fec5a1
commit
dba12e8cb3
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ function removeTag(element: HTMLElement, tagName: string): void {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const prohibitedTags = ["script", "link", "style"];
|
const prohibitedTags = ["script", "link"];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The use cases for using those tags in the field html are slim to none.
|
* The use cases for using those tags in the field html are slim to none.
|
||||||
|
|
Loading…
Reference in a new issue