On Fri, Feb 25, 2011 at 06:30:01PM -0500, Ryan O'Toole wrote: > I can think of a few solutions, such as turning off ampersand interpolation > within HTML tags. Dunno if that is enablehtml.php type of change, or > pmwiki ROS change. Another option would be able to just turn off the > & interpolation within a config.
It'd have to be an enablehtml.php type of change -- PmWiki itself gets this correct. In particular, you probably want to adjust the value passed to Keep(PSS(...)) to de-convert the & values within the angle brackets. Perhaps something like: function EnableHtml($tag) { Markup( "html-$tag", '>{$var}', '/<(\/?('.$tag.')(?![a-z!])(([\'"]).*?\4|.*?)*?)>/ie', 'Keep(PSS(str_replace("&", "&", \'<$1>\')))'); } Pm _______________________________________________ pmwiki-devel mailing list pmwiki-devel@pmichaud.com http://www.pmichaud.com/mailman/listinfo/pmwiki-devel