I’ve got a really annoying problem with our javascript richtext editor and produced HTML, that I store in a Note Rich Text field. I use a rich text field mainly because a single text field is not enough to store produced HTML (it can be more that 64k)
This is the issue. Editor produces the following, for example, code
- Some text here
I store that code inside field StoryBody and later when I retrieve it with
$body = nrti.getUnformattedText()
then $body has value, for example
<U
L>
and if I check Rich Text field in fact it has 2 paragraphs, the first one with <U the second with the remaining string.
This strange behavior happens randomly inside HTML code and in general is not a problem, but sometime, like in the example, HTML is misunderstood by browser. Have you got an idea how Lotus create those CR (or LF)? Have anyone face such a problem?
Thanks for your help.
This issue has been posted also here http://www-10.lotus.com/ldd/nd6forum.nsf/ShowMyTopicsAllFlatweb/184b147d45e4227f852575a2004530e7?OpenDocument