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?
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
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.
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