[pmwiki-users] Preventing a <!--wiki being wrapped in P tags

Patrick R. Michaud pmichaud at pobox.com
Sun Jul 19 14:19:50 CDT 2009


On Fri, Jul 03, 2009 at 11:22:39AM -0400, DaveG wrote:
> 
> Petko Yotov wrote:
> >> Is there a way to avoid the content being wrapped in <P> tags?
> > 
> > Yes, start the page {$SiteGroup}.SiteFooter with some block markup like 
> > a !!heading, a >>div<< or a buletted list. 
> I was trying to ensure I only had content in the file, rather than 
> markup, or structural elements. But if that's the way it works -- I'll 
> use that.
> 
> > The sidebar on pmwiki.org is not wrapped in <p> tags.
> Yeah, I noticed that.

I've been thinking that <!--markup:...> should not wrap its contents
in <p> tags if it consists of only one line of content.  
Perhaps <!--wiki:...> should do the same.

Pm



More information about the pmwiki-users mailing list