Opened 16 years ago

Closed 16 years ago

#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:


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:

Change History (2)

comment:1 Changed 16 years ago by Martin Kou

Reporter: changed from Martin Kou to tomdavies@…

comment:2 Changed 16 years ago by Frederico Caldeira Knabben

Resolution: duplicate
Status: newclosed

DUP of #328.

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy