title: Special characters in Salt state
body: <p>I am using Salt and I have to append some text to a file,after some research I found that you can achieve that by using the <code>file.append</code> module.</p>
  
  <p>I am getting an error about adding something like <code>[text]</code> in the file:</p>
  
  <pre><code>failed: could not found expected ':';at line x
  </code></pre>
  
  <p>The state is:</p>
  
  <pre><code>file.append:
    - text: |
      blah blah blah
      [SSL]    &lt;====================== Here is where it complains
      blah blah
  </code></pre>
  
  <p>Should I try to escape  the <code>[</code> character using the <code>\</code> before or how am I able to do that?</p>