PlainText does not insert line feeds or whitespace

  •  08-05-2005, 12:15 PM

    PlainText does not insert line feeds or whitespace

    The PlainText property is generating runon sentences for me. Go to the Extract plain text example: http://cutesoft.net/example/plaintextoutput.aspx
    Delete the example and then type in the following:
     
    Let's test this theory
    Was there a line feed or whitespace inserted?
    No there wasn't

    Click the submit button and you get this:

    Let's test this theoryWas there a line feed or whitespace inserted?No there wasn't
     
    I would expect line feeds (crlf) where there was a <P> or a <DIV>, or at least whitespace. This behavior makes the PlainText property not nearly as useful as it should be. First of all, if I try to display this on screen, I get one big long chunk of text. Second, if I store this in a database for searching, then some of the words will be squished together, like "theoryWas" above.
     
    Any ideas?
    -Ron
View Complete Thread