ASP.Net Control.ResolveUrl quirks
<p>I have a weird issue. 
When resolving urls for script elements, the src element must be in ' '. With link elements the href must be in " ", or the code nugget gets rendered into html for some reason. The code snippet below illustrates the problem more clearly. Why is this the case? </p>

<pre><code>&lt;script src='&lt;%:Page.ResolveUrl("~/JavaScript/jQuery/jquery-1.7.2.js") %&gt;' type="text/javascript"/&gt;

&lt;link href="&lt;%:Page.ResolveUrl("~/CSS/Foundation/foundation.css") %&gt;" rel="stylesheet" type="text/css" /&gt;
</code></pre>

<p><strong>Edit</strong>
Just noticed the script element src tag works fine when enclosed in " " or ' ', but the link element href tag only seems to work when enclosed in " ".</p>
