On Tue, Feb 22, 2011 at 11:36 AM, Raluca Stavro <rmorosan(a)gmail.com> wrote:
Hello,
On Tue, Feb 22, 2011 at 11:31 AM, Eugen Colesnicov <ecolesnicov(a)gmail.com>wrote;wrote:
Ecaterina Moraru (Valica) wrote:
I think the solution for this is to add a paragraph before or after
calling
the info macro.
I tried, as you said - but no result ... (I added paragraf lines on a
first
info macro).
It is strange for me, because I didn't change anything on my wiki
http://etvc.myxwiki.org. All is standart.
You can use div elements in order to properly display the info macro:
((({{info}} text {{/info}})))
The reason why info text is being displayed like that in your case it's
because the {{info}} macro behaves as an inline macro, and the generated
html is a <span> with text inside.
For geeting the result that you want, you have to put all text inside one
block, and in your case a div fits best.
Caty was right about adding paragraphs for creating the block context, but
it seems that you need to add 2 paragraphs, one before and one after the
{{info}} macro. Otherwise, the macro might still be inline.
Examples:
Inline:
-------------------------
* list element
{{info}} text {{/info}}
-------------------------
or
-------------------------
* list element
{{info}} text {{/info}}
another text
-------------------------
Block:
-------------------------
* list element
{{info}} text {{/info}}
another text
-------------------------
or
-------------------------
* list element
((( {{info}} text {{/info}} )))
-------------------------
Raluca.
Raluca.
And as I said before, I seen this situation on others xwiki instalations.
--
View this message in context:
http://xwiki.475771.n2.nabble.com/Tutorial-XWiki-On-Windows-GlassFish-Oracl…
Sent from the XWiki- Users mailing list archive at
Nabble.com.
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users