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.
_______________________________________________
This is the Jspwiki-users mailing list, in which we discuss the 
stable release (even-numbered, 2.4.x, 2.6.x), and user-issues. 
For development discussion, please join jspwiki-dev.
http://ecyrd.com/cgi-bin/mailman/listinfo/jspwiki-users
http://www.jspwiki.org/JSPWikiMailingList

Reply via email to