Opened 18 years ago
Closed 18 years ago
#669 closed Bug (duplicate)
Newlines in <pre> tags are not preserved
| Reported by: | Owned by: | ||
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | General | Version: | |
| Keywords: | SF | Cc: |
Description
the FCKXHtml.GetXHTML method returns XHTML stripped of newlines. This means that text in <pre> tags loses its intended formatting.
This can be fixed by changing the code below by commenting out the call to replaceNewLineChars().:
Text Node. case 3 : this._AppendTextNode( xmlNode, htmlNode.nodeValue/*.replaceNewLineChars(' ')*/ ) ; break ;
I'm not certain whether this has any other unintended consequences.
Moved from SF:
http://sourceforge.net/tracker/index.php?func=detail&aid=1252313&group_id=75348&atid=543653
Change History (2)
comment:1 Changed 18 years ago by
| Reporter: | changed from Martin Kou to tomdavies@… |
|---|
comment:2 Changed 18 years ago by
| Resolution: | → duplicate |
|---|---|
| Status: | new → closed |

DUP of #328.