The comment about the typo is confusing to me and makes this somewhat hard to read. Also, I'd move it out of the middle of the conditional (maybe into the guarded block (and say "the typo above is intentional..." or something). What is the typo exactly?

OH, nm, I see, It includes a literal doublequote charcater? Is there a server bug for that? What happens when/if they fix it? Or is that forever now?