Escaping Problem
<p>How can escape quotes for use in HTML? My line of code is:</p>

<pre><code>&lt;body onload="setTimeout('window.location='http://somepage.com'', 1000)"&gt;
</code></pre>

<p>As you can see in the current example, there are two ', and a " being used. How can I escape them for the above to work?</p>

<p>The onload contents are set dynamically for a system I am working on @ work.</p>
