title: ">" is encoded to "&gt;"
body: <p>Probably, someone will be able to explain me, why ">" sign is encoded to <code>"&amp;gt;"</code>.
  I am using mvc razor and some my cshtml view uses script that you can find below:</p>
  
  <pre><code>&lt;script type="text/javascript" language="javascript"&gt;
      $(document).ready(function () {
          var thumbnails = $("img.thumbnail");
          thumbnails.each(function () {
              $(this).load(function () {
                  if ($(this).height() &gt; $(this).width()) {
                      $(this).css("height", "100%");
                  }
                  else {
                      $(this).css("width", "100%");
                  }
              });
          });
      });
  &lt;/script&gt;
  </code></pre>
  
  <p>Chrome browser throws exception:</p>
  
  <blockquote>
    <p>Uncaught SyntaxError: Unexpected token
    ;</p>
  </blockquote>
  
  <p>in next line:</p>
  
  <pre><code>if ($(this).height() &amp;gt; $(this).width()) {
  </code></pre>
  
  <p>What reason(s) can be to do this encoding/transform (except for curves of hands :D)?</p>
  
  <p>Or some way to solve it.</p>