[pmwiki-users] <!--markup:...--> adds <p>?

Patrick R. Michaud pmichaud at pobox.com
Thu Aug 3 11:22:51 CDT 2006


On Wed, Jul 26, 2006 at 06:14:57PM +0200, Thomas -Balu- Walter wrote:
> Hi everyone,
> 
> I'm trying to create a link in my template to a PmWiki page and of
> course wanted to use the default PmWiki markup:
> 
> &copy; by Balu &middot; <!--markup:[[Main/Imprint |Impressum]]-->
> 
> But that adds a <p>-Tag around the link and so destroys my layout. Is
> there a way to avoid that?

This occurs frequently enough that I'm thinking that I should
adjust MarkupToHTML (and therefore <!--markup:...-->) so that
it doesn't generate <p>...</p> if the text to be processed doesn't
contain any newlines.

Pm




More information about the pmwiki-users mailing list