mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-02-02 12:19:11 +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",
|
||||
tag: "iframe",
|
||||
attributes: {
|
||||
src: {type: "string", value: src}
|
||||
src: {type: "string", value: src},
|
||||
sandbox: {type: "string", value: "sandbox"}
|
||||
}
|
||||
}];
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user