<div dir="ltr"><div class="gmail_default" style="font-family:courier new,monospace">Thank you both Chuck and Peter ; </div><div class="gmail_default" style="font-family:courier new,monospace">now working and included in PmWiki last version 2.2.75 (see Petko's recent message).</div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-04-26 10:31 GMT+02:00 Peter Bowers <span dir="ltr"><<a href="mailto:pbowers@pobox.com" target="_blank">pbowers@pobox.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><span class=""><br><div class="gmail_quote">On Sat, Apr 25, 2015 at 4:36 AM, Chuck Goldstein <span dir="ltr"><<a href="mailto:cgpmw13@codingmaniac.com" target="_blank">cgpmw13@codingmaniac.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div style="overflow:hidden">In function HTML5Block, try replacing:<br>
<br>
  $attr = preg_replace("/^\\s*([\\w]+)\\s?/","id='$1'",$attr);<br>
<br>
with:<br>
<br>
  $attr = preg_replace("/^\\s*([\\w]+)(\\s|$)/","id='$1'$2",$attr);</div></blockquote></div><br></span>Or, more likely, replace it with:</div><div class="gmail_extra"><br></div><div class="gmail_extra">    $attr = preg_replace("/^\\s*([\\w\\s]+)\\s?/","id='$1'",$attr);<br></div><div class="gmail_extra"><br></div><div class="gmail_extra">-Peter</div></div>
<br>_______________________________________________<br>
pmwiki-users mailing list<br>
<a href="mailto:pmwiki-users@pmichaud.com">pmwiki-users@pmichaud.com</a><br>
<a href="http://www.pmichaud.com/mailman/listinfo/pmwiki-users" target="_blank">http://www.pmichaud.com/mailman/listinfo/pmwiki-users</a><br>
<br></blockquote></div><br></div>