Rich Text Field and New Lines on Web

I have a rich text field that I am writing to in a Web Query Save agent. I found that tabs written using AppendTab display fine, but new lines (via AppendNewLine) are lost.

If I write to the RTF on the front end instead using Javascript (\t and \n for formatting), the text displays correctly.

How can I get the new line to be displayed correctly in the browser? Thanks.

Subject: Rich Text Field and New Lines on Web

In the WQS replace CR, LF with
tags in the source text which you’re writing into an rt field.

If you want to access the same rt in notes client use a display field or computed text then on postopen replace the
tags with newline and display.

HTH

Sai

Subject: RE: Rich Text Field and New Lines on Web

Thanks for the response. Unfortunately, the HTML is only rendered as plain text. I guess this is normal, since it is contained in a textarea. Setting the “Store contents as HTML and MIME” flag on the rich text field did not help.