[pmwiki-users] Small pmwiki change request

John Rankin john.rankin at affinity.co.nz
Wed Apr 6 17:02:31 CDT 2005


Before adding this to PITS, I just thought I'd ask...

The problem
The scripts/skins.php code adds hard-coded html tags:

    "\n<div id='wikitext'>\n" to $PageStartFmt

and

    "</div>" to $PageEndFmt

In getting wiki -> pdf working (which we have, yay!),
we need to do an extra step to remove them.

Other than this point, the pmwiki engine is markup-agnostic.

The solution
What we'd /really/ like is to have these as variables,
as this is precisely the place at which we want to wrap the
xml we generate in the appropriate root element.

This seems like a simple change, with no obvious side-effects.
What are our chances?

Aside
This isn't a problem for xhtml tags generated from wiki
markup conversion, as we can use an xml namespace to
distinguish print dtd tags from xhtml tags, then remove
the latter in pmwiki's post-eval step.
-- 
JR
--
John Rankin






More information about the pmwiki-users mailing list