mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2026-10-04 23:21:42 +00:00
This reverts commit 9a5f4cc0ef.
This commit is contained in:
@@ -35,7 +35,10 @@ DraggableWidget.prototype.render = function(parent,nextSibling) {
|
||||
// Execute our logic
|
||||
this.execute();
|
||||
// Sanitise the specified tag
|
||||
tag = $tw.utils.makeTagNameSafe(this.draggableTag,"div");
|
||||
tag = this.draggableTag;
|
||||
if($tw.config.htmlUnsafeElements.indexOf(tag) !== -1) {
|
||||
tag = "div";
|
||||
}
|
||||
// Create our element
|
||||
domNode = this.document.createElement(tag);
|
||||
// Assign classes
|
||||
|
||||
Reference in New Issue
Block a user