title: How to render asp image tags in masterpage/page layout?
body: <p>In my .html page layout file, I have this code</p>
  
  <pre><code>&lt;!--&lt;asp:Image runat="server" imageurl="&lt;% $SPUrl:~sitecollection/Style Library/en-us/help.gif %&gt;" alternatetext="More information" /&gt;--&gt;
  </code></pre>
  
  <p>And then in the rendered client side result, if I view the source of the page, it looks like </p>
  
  <pre><code>&lt;!--&lt;img src="/Style%20Library/en-us/help.gif" alt="More information" /&gt;--&gt;
  </code></pre>
  
  <p>and the comments prevent it from being parsed into an image. How can I fix this?</p>
  
  <p>Note: for SP2013 html files for pages, I need the comments around controls like asp or sharepoint controls.</p>
  
  <p>Thanks</p>