mirror of https://github.com/calzoneman/sync.git
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 = {
|
var ATTRIBUTE_MAP = {
|
||||||
a: ["href", "name", "target"],
|
a: ["href", "name", "target"],
|
||||||
font: ["size"],
|
font: ["size"],
|
||||||
img: ["src"],
|
img: ["src", "alt"],
|
||||||
marquee: ["behavior", "behaviour", "direction", "scrollamount"],
|
marquee: ["behavior", "behaviour", "direction", "scrollamount"],
|
||||||
table: ["cellpadding", "cellspacing"],
|
table: ["cellpadding", "cellspacing"],
|
||||||
th: ["colspan", "rowspan"],
|
th: ["colspan", "rowspan"],
|
||||||
|
|
Loading…
Reference in New Issue