<div dir="ltr">Hello all,<br><br>Is there a version of enablehtml.php that will work with php5.6?<br><br><a href="http://www.pmwiki.org/wiki/Cookbook/EnableHTML">http://www.pmwiki.org/wiki/Cookbook/EnableHTML</a><br><br>I attempted the below but got... Fatal error: Cannot redeclare MyHtml() (previously declared in /path-goes-here/enablehtml.php:10) in /path-goes-here/enablehtml.php on line 10<br><br><?php if (!defined('PmWiki')) exit();<br>function EnableHtml($tag) {<br> Markup(<br> "html-$tag",<br> '>{$var}',<br> '/&lt;(\/?('.$tag.')(?![a-z!])(([\'"]).*?\4|.*?)*?)&gt;/i',<br><br> "MyHtml"<br>   );<br> function MyHtml($matches) {<br>   return Keep('<'.$matches[1].'>');<br> } <br>}<br>?><br><br>Thanks in advance.<br></div>