1
0
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:
Jeremy Ruston
2013-10-29 14:52:12 +00:00
parent 14d7d5ea59
commit b4da65d1c9
3 changed files with 29 additions and 29 deletions

View File

@@ -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,">");