I think this is due to the fact that Chrome/IE use the innerText
property, while FF uses textContent. textContent does not "preserve"
the line breaks or convert them to BR tags. You may want to find some
kind of workaround, such as PRE or replace all the CR LF and such with
a BR tag.


On Feb 21, 2:44 am, delabs <[email protected]> wrote:
> I am testing this example with slight modifications, It works well on
> Chrome and IE, but in FF it works well but the Line Breaks like CR LF
> does not seem to render on output. It wraps into a single line only in
> FireFox.
>
> http://jot-a-note.googlecode.com/svn/trunk/read-write.html
>
> If i enter like
>
> " aaaa
>
> bbb
>
> cc"
>
> It comes like "aaaa  bbb cc" only in FF but in Chrome/IE its fine.

Reply via email to