Plain text with line feeds issue

  •  04-09-2006, 1:43 PM

    Plain text with line feeds issue

    Hi,
     
    The Editor1.PlainTextWithLineFeeds returns line feeds as
     
    <br>&nbsp;
     
    together with a trailing space character. This is causing problems when trying to use Cute Editor to lay out plain text documents such as for email systems. The idea of plain text with a line feed is great, but why does it have to have '&nbsp;' together with a trailing space?
     
    The line feeds property ought to just deliver either <br> on it's own, or, because it IS meant to be plain text, simply a newline, thus: \n
     
    Can you please help with this? At the end of the day, I just want users to be able to lay out a document in plain text format for email systems, which means stripping the body of HTML and swapping new lines with '\n'.
     
    Many thanks
    Gerardicus
View Complete Thread