title: Script type template include script tag
body: <p>Script type text/template include the script tag ignore closed script tag.
  In the following is my sample code
  Html</p>
  
  <pre><code>&lt;div id="container"&gt;
  &lt;/div&gt;
  
  &lt;script id="template" type="text/template"&gt;
      &lt;script&gt;
          (function () {
              alert('@Replacement')
          }());
      &lt;/script&gt;
  &lt;/script&gt;
  </code></pre>
  
  <p>Js</p>
  
  <pre><code>var template = $("#template").html();
  template = template.replace("Replacement", "Hi");
  $('#container').text(template);
  </code></pre>
  
  <p>I expect that after running javascript following display on the page</p>
  
  <pre><code>&lt;script&gt;
      (function () {
          alert('@Replacement')
      }());
  &lt;/script&gt;
  </code></pre>
  
  <p>But  ignored in result as the follwing:</p>
  
  <pre><code>&lt;script&gt;
      (function () {
          alert('@Replacement')
      }());
  </code></pre>