Ticket #669 (closed Bug: duplicate)
Newlines in <pre> tags are not preserved
| Reported by: | tomdavies@… | 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
Note: See
TracTickets for help on using
tickets.