Unwanted <br> in RFT displayed using HTML

I have an RTF in a form (within a table cell) and I display this on the web using HTML. The HTML that notes generates has two - unwanted - line breaks before the start of the text i.e.



This is the text in the RTF

I’ve tried the tricks for removing unwanted
's for the start of forms and where pass-thru HTML is used (given in these forums), but these dont work for my RTF.

Does anyone have a solution for getting rid of these unwanted line breaks?

Gail

Subject: Solution

I had the same problem and … was looking in the wrong place.

When I dropped the RTF the
disappeared but they were caused by empy lines in other places (form or subforms). Once I hided all empty lines also the
disappeared.

It looks like this effect (unwanted BRs) only shows up when filled RTFs are displayed.

I’m happy that it’s working now and hope to solve your issues too

Subject: Unwanted
in RFT displayed using HTML

Hi Gail:

Have you checked that in your form design you haven’t inadvertently put the field that contains the RTF on a new line? This could be why when it’s generated by Domino it bungs in a break.

HTH, George :slight_smile:

Subject: RE: Unwanted
in RFT displayed using HTML

the field is in a table cell, so is not on a new line. But I still get the
's anyway!

Subject: RE: Unwanted
in RFT displayed using HTML

OK, I wondered if you’d by chance written it in the format

…

FIELD HERE

...

not …FIELD HERE…

I know I do the former sometimes for clarity.

Subject: RE: Unwanted
in RFT displayed using HTML

Hi Bunoir,

The RTF is in a Notes table rather than one created directly in HTML. There are other (non RTF) fields in the table but these dont end up with extra line breaks. Unfortunately I cant change the design to replace the table as the person who created the form wont allow it …

I’ll check your suggestion though and see if the problem occurs also with a HTML table

Gail