Getting Domino to generate <p> instead of <br>

A client is getting their Domino site all gussied up. It’s going to look great. A real high-end designer has created the skin for it; I’m applying it.

Very heavy use of CSS; it’s great.

On our side, the users have created the content by typing wysiwyg text into rich-text Body fields for, oh, about 10 years now.

The designer says that this design is being impacted by the way the Domino Server (6.5.6) renders carriage “returns.” It renders them as
. He wants them rendered as

enclosed text

.

These users know zilcho HTML, and even if I tried to teach them to do that, chances are they wouldn’t always remember anyway, if ever, and would totally resent the extra work. This is leaving aside the 10 years of content that would all have to be manually edited to be updated, eek.

So, anyone know of anyway to get Domino to generate the

's? A trick on the form I can use? Update to 8.0 server?

Tried briefly setting form properties to being all html, but everything the users had entered went to hell in a handbasket. No spaces at all between any of the paras; just gonzo.

Subject: RE: Getting Domino to generate

instead of

What you’re seeing is the difference between a line break and a paragraph break. The users should be trained to know the difference and use it intentionally.

Meanwhile, if you want to convert every line break into a paragraph break on the assumption that nobody knew what they were doing when they entered it, you could do that with a tool like the Midas API from geniisoft.

Subject: RE: Getting Domino to generate

instead of

Andre, I’ve been using Notes for a very long time, and I’m mystified by your answer. I’m not aware of any way to enter a “line break” into a rich text field. As far as I know, hitting the Enter key in a rich text field always creates a paragraph break, yet Domino’s HTTP stack always renders it with a
tag.

Subject: RE: Getting Domino to generate

instead of

Pressing Enter creates a paragraph break.Pressing Shift+Enter, as I did here
creates a line break.

On looking at another document thru a web browser, I see you’re correct that the Domino web server doesn’t seem to make a distinction.

Let’s see whether making this a bullet list makes a difference.

Subject: Yep that has always been the problem

Domino seams to treat a paragraph break in notes rich text the same as a line break.

Subject: Line break versus paragraph break

I would be surprised if 1 in 100 Notes developers is aware that there’s a distinction between Enter and Shift-Enter – not to mention users. Is it documented anywhere other than “Creating and formatting lists” page in the help db? I can’t find any other references.

In that particular case, it’s not identified as a line break. It’s only mentioned that it is a way to add a non-numbered indented line within a numbered list. Thinking about it, it makes sense that that would indeed be a line break, but I never thought of it that way before.

Subject: RE: Line break versus paragraph break

The users are actually meaning to do paragraph breaks, by hitting enter, enter twice, the way I would imagine 99.9% of the population does them.

But as we know, however one does breaks, paragraph or line, Domino converts 'em as
.

Which I never had a problem with up till now.

It’s the graphic designer who wants Domino to wrap paras instead in

.

I’ve solved the problem for the weekend with the good old-fashioned method of just putting some formatting into the body element of the style sheet. I expect on Monday i’ll get in trouble for doing that and hearing why styling should only happen in P elements instead, etc, and be made to feel inferior for still working with something ancient like Domino, etc, etc… grin.

Subject: and for what it is worth, Midas can handle that

If you wanted to use our Midas Rich Text LSX to generate the HTML, you could have it issue

tags for paragraphs and
tags for line feeds. Just to confirm that Andre knows what he is talking about.