Styles and paragraph
"Fabiano Bonin" <[email protected]> Wed, 14 Nov 2007 09:13:36 -0300
| Newsgroups | gmane.comp.java.jspwiki.user |
|---|---|
| Message-ID | <[email protected]> |
This list is deprecated. Please subscribe to the Apache Incubator jspwiki-user list by sending an email to [email protected] Hi all! In some cases, when we use CSS styles, the html output doesn't create a paragraph for text outside the style. I don't know if it is expected, but i'm posting some examples for discussion. My JSPWiki version is 2.4.102. Case 1 - Should a style markup alone in a line followed by a blank line output a paragraph to html? MARKUP %%menu test1%% HTML <span class="menu">test1</span> Case 2 - This case seems right in my point of view MARKUP text %%menu test1%% HTML <p>text <span class="menu">test1</span> </p> Case 3 - In this case, even the text after the style is not inside a paragraph. MARKUP %%menu test1%% text HTML <span class="menu">teste1</span> text The main reason i'm asking about it is because i often need to: %%menu Menu A%% - despription %%menu Menu B%% - description OR %%menu Menu A%% %%menu Menu B%% And the output i expected was two paragraphs and i get both text rendered in the same line in the browser. The workaround i'm using for now is to insert a space before the style markup. Regards, Fabiano.