[Developers] html entity encoding
David Flanagan
david at davidflanagan.com
Fri May 2 22:19:45 UTC 2008
Nick Thompson wrote:
> it also escapes " to &dquo; so that the returned values
> are safe in html attribute values as well as in html text.
>
> nick
Not according to my tests, it doesn't. Run this query on sandbox:
{"guid":"#9202a8c04000641f80000000082ef550",
"name":null}
You'll see that &,<, and > are escaped in the name, but " is only given
a JSON backslash in the response, not &dquo;
Nick, you're probably the one to ask (changing the subject here) whether
mqlread has some way of specifying a default language (other than
/lang/en) for names. Is there an envelope parameter or HTTP header for
this yet?
David
More information about the Developers
mailing list