Allow alt-attribute on <img>-tags
https://www.w3.org/html/wg/wiki/IssueAltAttribute
This commit is contained in:
parent
a75917d4e4
commit
e391a80d65
|
@ -45,7 +45,7 @@ const ALLOWED_SCHEMES = [
|
|||
var ATTRIBUTE_MAP = {
|
||||
a: ["href", "name", "target"],
|
||||
font: ["size"],
|
||||
img: ["src"],
|
||||
img: ["src", "alt"],
|
||||
marquee: ["behavior", "behaviour", "direction", "scrollamount"],
|
||||
table: ["cellpadding", "cellspacing"],
|
||||
th: ["colspan", "rowspan"],
|
||||
|
|
Loading…
Reference in a new issue