[pmwiki-devel] MarkupToHTML help

DaveG pmwiki at solidgone.com
Tue Mar 23 13:55:49 CDT 2010


I'm trying to use MarkupToHTML() to convert some PmWiki markup into HTML 
-- which is what I think the function does.

However, a simple test, in config.php (or my recipe, same result):
   print (MarkupToHTML($pagename, '[[http://google.com/ | Google]]'));

Produces:
   [[http://google.com/ | Google]] <:block>

I was expecting this, or something close:
   <a href="http://google.com">Google</a>

I've checked a number of other recipes, and they seem to use the 
function in a similar way, so I'm obviously doing some thing daft. Anyone?


  ~ ~ Dave



More information about the pmwiki-devel mailing list