mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2026-12-05 12:45:23 +00:00
1 parent
55d9a5e16d
commit
b37a356b5e
1 file changed
+1
-1
@@ -30,7 +30,7 @@ ElementWidget.prototype.render = function(parent,nextSibling) {
|
||||
this.parentDomNode = parent;
|
||||
this.computeAttributes();
|
||||
// Neuter blacklisted elements
|
||||
this.tag = this.parseTreeNode.tag;
|
||||
this.tag = this.parseTreeNode.tag || "span";
|
||||
if($tw.config.htmlUnsafeElements.indexOf(this.tag) !== -1) {
|
||||
this.tag = "safe-" + this.tag;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user