Ticket #669 (closed Bug: duplicate)

Opened 17 months ago

Last modified 14 months ago

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

Changed 17 months ago by martinkou

  • reporter changed from martinkou to tomdavies@…

Changed 14 months ago by fredck

  • status changed from new to closed
  • resolution set to duplicate

DUP of #328.

Note: See TracTickets for help on using tickets.