[wp-polyglots] HTML entities in translated strings

Peter Westwood peter.westwood at ftwr.co.uk
Wed Mar 12 14:59:23 GMT 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Nikolay Bachiyski wrote:
| 2008/3/12, Peter Westwood <peter.westwood at ftwr.co.uk>:
|>
|> attribute_escape is used within WordPress where ever anything is going to
|>  go into an html attribute to ensure that we produce valid, safe html
|>
|>  It may be that attribute_escape should be able to cope with not double
|>  escaping strings so what you are trying to do would work.
|
| westi, attribute_escape uses wp_specialchars, which doesn't double
| encode entities.

Fair enough. I was only going on the reported info - didn't have the
code to hand :-(

westi
- --
Peter Westwood
http://blog.ftwr.co.uk | http://westi.wordpress.com
~ C53C F8FC 8796 8508 88D6 C950 54F4 5DCD A834 01C5
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFH1+/LVPRdzag0AcURAoR1AJwLS+LdCkO99J9V4TMLnd6maqs3QQCgv3yp
XZ9xgkQSIRvEZoS6EyWUqVA=
=uTFA
-----END PGP SIGNATURE-----


More information about the wp-polyglots mailing list