[pmwiki-users] Stop (:include:) wrapping content in <pre>

Garth.J.McMillan at transport.qld.gov.au Garth.J.McMillan at transport.qld.gov.au
Thu Apr 19 21:03:54 CDT 2007


Hi,

When using (:include:) on the html template, for example in the following 
case:

<!--markup:(:if exists {$Group}.sidebar:) (:include {$Group}.SideBar 
:)(:if:)-->

It wraps the content of Group.Sidebar in preformatted text (<pre></pre>) 
tags, which loses any html within the content.

Is there a way to stop the include wrapping it in <pre> tags?

Ideally, I'd like to be able to do something like:

<!--markup:(:if exists {$Group}.sidebar:)<h2><img src="my_image.gif">My 
Title</h2> (:include {$Group}.SideBar :)(:if:)-->



Regards,

Garth McMillan

************************************************************
Opinions contained in this e-mail do not necessarily reflect
the opinions of the Queensland Department of Main Roads,
Queensland Transport or Maritime Safety Queensland, or
endorsed organisations utilising the same infrastructure.
If you have received this electronic mail message in error,
please immediately notify the sender and delete the message
from your computer.
************************************************************




More information about the pmwiki-users mailing list