[pmwiki-users] skin template <!markup problem

marc gmane at auxbuss.com
Wed Jan 17 08:39:55 CST 2007


Patrick R. Michaud said...
> 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, Did this change make it into 2.2.0-beta22?

I'm climbing up walls trying to force this behaviour. Well, my own 
branch of PmWiki :-|

-- 
Cheers,
Marc





More information about the pmwiki-users mailing list