mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-06-25 06:43:15 +00:00
Fix sandbox attribute for html parser generated iframes
See https://developer.mozilla.org/en/docs/Web/HTML/Element/iframe#attr-sandb ox
This commit is contained in:
parent
a90cb03975
commit
682b1e7027
|
@ -24,7 +24,7 @@ var HtmlParser = function(type,text,options) {
|
||||||
tag: "iframe",
|
tag: "iframe",
|
||||||
attributes: {
|
attributes: {
|
||||||
src: {type: "string", value: src},
|
src: {type: "string", value: src},
|
||||||
sandbox: {type: "string", value: "sandbox"}
|
sandbox: {type: "string", value: ""}
|
||||||
}
|
}
|
||||||
}];
|
}];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue
Block a user