[pmwiki-users] Prevent automatic <P> wrapping

Hans design5 at softflow.co.uk
Sun Dec 21 15:53:38 CST 2008

Saturday, December 20, 2008, 10:48:48 PM, DaveG wrote:

> Is there a way to temporarily prevent markup from adding <p> wrappers?
> In particular within a .tmpl, I have:

> <!--markup:(:if (group !$DefaultGroup) :)[[$ScriptUrl | $WikiTitle]] |

> However, this gets wrapped in <p> tags, which causes subsequent text to
> appear on a new line -- I can get around this by using css to stop that,
> but I'd prefer not to. Is there a way to prevent this from happening?

You could also get around it by using a variable in your skin tmpl
file, and evaluating the variable in a skin.php file, using the
conditional there.


More information about the pmwiki-users mailing list