mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-12-07 17:28:05 +00:00
Update fakedom to no longer add a newline after opening tags
The newline was being rendered within `<code>` elements.
This commit is contained in:
@@ -112,7 +112,7 @@ Object.defineProperty(TW_Element.prototype, "outerHTML", {
|
||||
}
|
||||
}
|
||||
}
|
||||
output.push(">\n");
|
||||
output.push(">");
|
||||
if($tw.config.htmlVoidElements.indexOf(this.tag) === -1) {
|
||||
output.push(this.innerHTML);
|
||||
output.push("</",this.tag,">");
|
||||
|
||||
Reference in New Issue
Block a user