Problem with richtext display on web : Domino inserts automatically <BR> tags

Hi everybody,

I have a problem with a richtext, since my database is on a R6 server :

Scenario

In a web application, an agent is run to create a notes document in backend with a computed richtext field RES_BODY. This agent inserts JavaScript code in the field RES_BODY (by rtitem.appendtext).

This document is next displayed on the web.

Problem

In the document, the field RES_BODY is splitted in several fields (normal) because of their size.

BUT, when the document is displayed on web, Domino inserts HTML tags (
) between the several fields RES_BODY to rebuild it.

It’s a big problem because this field contains Javascript code and those tags produce JS errors!

Precision : it worked with a R5 server!!!

Someone has idea to eliminate these tags or to avert Domino to create this tags
?

Thanks a lot for your responses!!

Sandrine