title: How to get StringTemplate V4 to ignore < as delimiter?
body: <p>I'm using StringTemplate V4 to generate some HTML code in my project.
  I need to have HTML formatting in my templates, so using the default delimiters <code>&lt;</code> and <code>&gt;</code> would be very awkward.</p>
  
  <p>So, I'm creating a group passing the delimiter as argument (as recommended by <a href="https://stackoverflow.com/questions/8490351/stringtemplate-remove-as-delimiters">this question</a>), but it simply doesn't work.</p>
  
  <p>Here is my test code:</p>
  
  <pre><code>public void testTemplate() {
      char sep = '$';
      STGroup stGroup = new STGroupString("temp",
              "&lt;html&gt;hello, $name$!&lt;/html&gt;", sep, sep);
      System.out.println("Group created");
      ST st = stGroup.getInstanceOf("temp");
      if (st == null) {
          System.out.println("Failed to get template!");
      } else {
          st.add("name", "Guest");
          System.out.println("Template initialized correctly");
      }
  }
  </code></pre>
  
  <p>And this is the output that I get:</p>
  
  <pre><code>temp 1:1: invalid character '&lt;'
  temp 1:5: invalid character '&gt;'
  temp 1:1: garbled template definition starting at 'html'
  temp 1:6: garbled template definition starting at 'hello'
  temp 1:13: invalid character '$'
  temp 1:18: invalid character '$'
  temp 1:19: invalid character '!'
  temp 1:21: invalid character '&lt;'
  temp 1:22: invalid character '/'
  temp 1:14: garbled template definition starting at 'name'
  temp 1:26: invalid character '&gt;'
  temp 1:22: garbled template definition starting at 'html'
  Failed to get template!
  </code></pre>
  
  <p>What am I missing here?</p>