[pmwiki-users] Html5Extensions not working with php5.5
ABClf
languefrancaise at gmail.com
Sun Apr 26 14:22:36 CDT 2015
Thank you both Chuck and Peter ;
now working and included in PmWiki last version 2.2.75 (see Petko's recent
message).
2015-04-26 10:31 GMT+02:00 Peter Bowers <pbowers at pobox.com>:
>
> 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
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20150426/9fff940f/attachment.html>
More information about the pmwiki-users
mailing list