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

_______________________________________________
pmwiki-devel mailing list
pmwiki-devel@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-devel

Reply via email to