[pmwiki-users] Added meta tags and schema.org microdata injection into pages

Carlos AB cabsec.pmwiki at gmail.com
Mon Oct 3 21:33:06 CDT 2011


Thanks again Petko.

CarlosAB

On 10/3/11, Petko Yotov <5ko at 5ko.fr> wrote:
> On Tuesday 04 October 2011 04:05:26, Carlos AB wrote :
>> You are right, is other encoding needed for meta tags?
>
> Actually, you may escape the double and single quotes:
>
>   str_replace(array('"',"'"),array('"','''), $o['title'])
>
> instead of the current     $o['title'].
>
> The unescaped quotes in your properties may cause incorrect or incomplete
> meta tags.
>
> Petko
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>



More information about the pmwiki-users mailing list