mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-02-08 23:20:03 +00:00
Sandbox HTML iframes
Otherwise Firefox allows code in html tiddlers to access the main window: https://groups.google.com/d/topic/tiddlywiki/NwOI-QER2ig/discussion
This commit is contained in:
parent
040ed56de5
commit
050b643948
@ -23,7 +23,8 @@ var HtmlParser = function(type,text,options) {
|
|||||||
type: "element",
|
type: "element",
|
||||||
tag: "iframe",
|
tag: "iframe",
|
||||||
attributes: {
|
attributes: {
|
||||||
src: {type: "string", value: src}
|
src: {type: "string", value: src},
|
||||||
|
sandbox: {type: "string", value: "sandbox"}
|
||||||
}
|
}
|
||||||
}];
|
}];
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user