mirror of
https://github.com/Jermolene/TiddlyWiki5.git
synced 2026-01-06 01:02:17 -08:00
Fix problem with custom tag in reveal widget
This commit is contained in:
parent
e46d3d74be
commit
e80a08f43b
1 changed files with 1 additions and 1 deletions
|
|
@ -31,7 +31,7 @@ RevealWidget.prototype.render = function(parent,nextSibling) {
|
|||
this.computeAttributes();
|
||||
this.execute();
|
||||
var tag = this.parseTreeNode.isBlock ? "div" : "span";
|
||||
if($tw.config.htmlUnsafeElements.indexOf(this.revealTag) === -1) {
|
||||
if(this.revealTag && $tw.config.htmlUnsafeElements.indexOf(this.revealTag) === -1) {
|
||||
tag = this.revealTag;
|
||||
}
|
||||
var domNode = this.document.createElement(tag);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue