Permalink
Browse files

Fixing HTMLArea.getHTML a bit.

  • Loading branch information...
1 parent 72960a6 commit 1546f4cff0095714cae4a8c7accf93e07c1dc6f9 julmis committed Apr 19, 2005
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/editor/htmlarea.php
View
4 lib/editor/htmlarea.php
@@ -2294,13 +2294,13 @@ function getMozSelection(txtarea) {
}
html += " " + name + '="' + value + '"';
}
- html += closed ? " />\n" : ">";
+ html += closed ? " />" : ">";
}
for (i = root.firstChild; i; i = i.nextSibling) {
html += HTMLArea.getHTML(i, true, editor);
}
if (outputRoot && !closed) {
- html += "</" + root.tagName.toLowerCase() + ">\n";
+ html += "</" + root.tagName.toLowerCase() + ">";
}
break;
case 3: // Node.TEXT_NODE

0 comments on commit 1546f4c

Please sign in to comment.