[pmwiki-users] skin template <!markup problem

Patrick R. Michaud pmichaud at pobox.com
Mon Jan 15 13:19:33 CST 2007


On Sat, Jan 13, 2007 at 03:12:11PM -0000, marc wrote:
> I tried to use the following in a skin template:
> 
> <!--markup:(:if authedit:)(:div1 id=menubar:)(:div2 id=wikicmds:)
> (:include {$Group}.PageActions {$SiteGroup}.PageActions:)(:div2end:)
> (:div1end:)-->
> 
> but it produces:
> 
> <div id='menubar' >(:div2 id=wikicmds:)
> <ul><li><a class='selflink' href='http
> ...
> n=logout'>Logout</a>(:div2end:)(:div1end:)
> 
> Any ideas what's wrong?

I _think_ this is a bug in the markup: directive not being
able to understand newlines.  If that's indeed the problem, it
should be fixed for 2.2.0-beta22.

I think you may be the first person to try to generate
a multi-line <!--markup:...--> directive, or at least the
first to report a bug with it.  :-)

Pm




More information about the pmwiki-users mailing list