title: Why shouldn't `&apos;` be used to escape single quotes?
body: <p>As stated in, <a href="https://stackoverflow.com/questions/242766/when-did-single-quotes-in-html-become-so-popular">When did single quotes in HTML become so popular?</a> and <a href="https://stackoverflow.com/questions/1263141/jquery-embedded-quote-in-attribute">Jquery embedded quote in attribute</a>, the Wikipedia entry on <a href="https://en.wikipedia.org/wiki/HTML#Character_and_entity_references" rel="noreferrer">HTML</a> says the following:</p>
  <blockquote>
  <p>The single-quote character ('), when used to quote an attribute value, must also be escaped as <code>&amp;#x27;</code> or <code>&amp;#39;</code> (should NOT be escaped as <code>&amp;apos;</code> except in XHTML documents) when it appears within the attribute value itself.</p>
  </blockquote>
  <p>Why shouldn't <code>&amp;apos;</code> be used?  Also, is <code>&amp;quot;</code> safe to be used instead of <code>&amp;#34;</code>?</p>