The former isn't a very good reason: HTML/XML accept both double and single quotes, so "<p id='foo'>something</p>" would work equally well.
Re:Front End Development Guidelines
by joshontheweb on Friday May 06, 2011 @12:49PM
(#2521533)
yes, but it is much more common for double quotes to be used in html
But the same goes for something like "you can't do that"
I guess it just depends what you don't want to escape. For Google, the more probable scenario was probably the former.