[pmwiki-users] Turn off link formatting within script

Patrick R. Michaud pmichaud at pobox.com
Mon Dec 4 10:58:45 CST 2006


On Mon, Dec 04, 2006 at 04:11:29PM +0100, Mike wrote:
> Hi,
> 
> I'm writing a small "cookbook"-like pmwiki extension in PHP for myself.
> In that script, I need to link to other pmwiki pages from within the
> "<area>"-tag of HTML, more specifically I need to fill in the "href" value.
> 
> Now I managed to build the correct URL by using the pagename and
> $ScriptUrl, e.g. I arrive at
> "href=http://server.com/pmwiki/mygroup/mypage", but then PmWiki wraps
> the URL into an <a> tag with class=urllink.
> 
> How can I stop PmWiki from doing that?

Use Keep() around whatever you don't want PmWiki to process.

Pm




More information about the pmwiki-users mailing list