title: How to make Thymeleaf to process URL expressions in HTML comments
body: <p>I've started to use Thymeleaf and came across following problem.
  In my HTML template I have this piece of code:</p>
  
  <pre><code>  &lt;!-- Thymeleaf --&gt;
    &lt;script src="../js/vendor/modernizr.js" th:src="@{js/vendor/modernizr.js}"&gt;&lt;/script&gt;
    &lt;!--[if lt IE 9]&gt;
          &lt;script src="../js/vendor/jquery-1.11.min.js" th:src="@{js/vendor/jquery-1.11.min.js}"&gt;&lt;/script&gt;
          &lt;script src="../js/helpers/polyfills.js" th:src="@{js/helpers/polyfills.js}"&gt;&lt;/script&gt;
      &lt;![endif]--&gt;
  </code></pre>
  
  <p>When I open this in a browser, Thymeleaf is replacing URLs correctly for the first line, while for the part in [if lt IE 9], nothing is processed. Please compare:</p>
  
  <pre><code>&lt;!-- Thymeleaf --&gt;
    &lt;script src="js/vendor/modernizr.js"&gt;&lt;/script&gt;
    &lt;!--[if lt IE 9]&gt;
          &lt;script src="../js/vendor/jquery-1.11.min.js" th:src="@{js/vendor/jquery-1.11.min.js}"&gt;&lt;/script&gt;
          &lt;script src="../js/helpers/polyfills.js" th:src="@{js/helpers/polyfills.js}"&gt;&lt;/script&gt;
      &lt;![endif]--&gt;
  </code></pre>
  
  <p>How to solve this problem?</p>