Hi, http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax#HMacros following the link I found ----------------- In XWiki Syntax 2.0, by default the HTML macro understands wiki syntax. To prevent this, use {{html wiki="false"}}.
----------------- Looking in http://code.xwiki.org/xwiki/bin/view/Macros/HTMLMacro states ----------------------------------------------------------------------------------------------------- wiki yes true/false (Default) false Indicate if the wiki syntax (including other macros) inside the macro is evaluated or not. ----------------------------------------------------------------------------------------------------- Both pages contradict each other. Due to tests the first page is wrong, the latter is true. To allow "wiki syntax" the attribute wiki has to be EXPLICITELY set to "true" {{html wiki="true"}} Stefan Bachert ________________________________ Von: Caleb James DeLisle <[email protected]> An: XWiki Users <[email protected]> Gesendet: Dienstag, den 23. Februar 2010, 13:19:37 Uhr Betreff: Re: [xwiki-users] Macro in html-macro XWiki 2.0 syntax is defined here: http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax#HMacros Calling macros "not syntax" would be a big change in the way XWiki is documented, and it makes no sense to me since macros are handled by the syntax parser and they are not any external script language. Caleb James DeLisle stefan bachert wrote: > Hi Vincent, > > Technical you are surely totally right in the context of xwiki > But try to see that stuff from an users point of view, not from a developers > one. > An user want to use xwiki not to analyse it. > > Look what the german wikipedia thinks about wiki syntax. No macros at all. > http://de.wikipedia.org/wiki/Hilfe:Textgestaltung > > And the french version, discusses something which looks like "xwiki macros" > but they arent. > http://fr.wikipedia.org/wiki/Aide:Syntaxe > > > There is no common sense what "Wiki syntax" means. > So a better term would be helpful. However, it is not easy to find something > better, all I am thinking of are rather a sentence than a word. > > > Stefan Bachert > > > > ________________________________ > Von: Vincent Massol <[email protected]> > An: XWiki Users <[email protected]> > Gesendet: Dienstag, den 23. Februar 2010, 11:43:49 Uhr > Betreff: Re: [xwiki-users] Macro in html-macro > > > On Feb 23, 2010, at 11:31 AM, Stefan Bachert wrote: > >> Hi, >> >> Ok, I see it now, too. >> >> However, the attribute name "wiki" is very misleading. > > It's wiki as in wiki syntax. Macros **are** wiki syntax, otherwise you'd > never be able to use macros when you write wiki syntax! > > -Vincent > >> I still get no link for "wiki syntax" to "macro". >> Maybe with internal knowledge this may brighten up. >> >> Stefan Bachert >> >> >> >> >> >> ________________________________ >> Von: vmassol [via XWiki] <[email protected]> >> An: Stefan Bachert <[email protected]> >> Gesendet: Dienstag, den 23. Februar 2010, 11:17:17 Uhr >> Betreff: Re: Macro in html-macro >> >> >> On Feb 23, 2010, at 11:09 AM, Stefan Bachert wrote: >> >> >>> Hi, >>> >>> I figured it out now. >>> >>> {{html wiki=true}} >>> {{warning}}Warning{{/warning}} >>> {{/html}} >>> >>> setting wiki=true will enable included macros, too. >>> This is somewhat crude and not documented >> How can you say it's not documented? >> http://code.xwiki.org/xwiki/bin/view/Macros/HTMLMacro >> >> Thanks >> -Vincent > _______________________________________________ > users mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/users > > > __________________________________________________ > Do You Yahoo!? > Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz > gegen Massenmails. > http://mail.yahoo.com > _______________________________________________ > users mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/users > _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users __________________________________________________ Do You Yahoo!? Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails. http://mail.yahoo.com _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
