[pmwiki-users] Html5Extensions not working with php5.5
Peter Bowers
pbowers at pobox.com
Sun Apr 26 03:31:23 CDT 2015
On Sat, Apr 25, 2015 at 4:36 AM, Chuck Goldstein <cgpmw13 at codingmaniac.com>
wrote:
> In function HTML5Block, try replacing:
>
> $attr = preg_replace("/^\\s*([\\w]+)\\s?/","id='$1'",$attr);
>
> with:
>
> $attr = preg_replace("/^\\s*([\\w]+)(\\s|$)/","id='$1'$2",$attr);
>
Or, more likely, replace it with:
$attr = preg_replace("/^\\s*([\\w\\s]+)\\s?/","id='$1'",$attr);
-Peter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20150426/1e111458/attachment.html>
More information about the pmwiki-users
mailing list