[pmwiki-users] <!--markup: question
Patrick R. Michaud
pmichaud at pobox.com
Sun Jan 29 08:15:17 CST 2006
On Sun, Jan 29, 2006 at 02:51:50AM -0500, Christian Schlatter wrote:
> I've written a custom markup that outputs a simple string, like e.g.
> (:itemid:) gives "7". As soon as I embed this markup in a skin template,
> its output gets enclosed in an html paragraph.
>
> <!--markup:(:itemid:)--> gives <p>7</p>
>
> Is it possible to include the markup in the template without the
> enclosing html paragraph?
Try returning "<:block>7" instead of just "7". The "<:block>"
notation should tell PmWiki not to enclose the text in <p>...</p>
or anything else.
Pm
More information about the pmwiki-users
mailing list