title: How to decode &#39 in flask with Jinja2 template
body: <p>When I'm trying to write errors from wtforms in Jinja2 template, it returns undecoded quote. How can i fix it?</p>
  
  <pre><code>{% if registrationForm.errors %}
      &lt;script&gt;swal("Error!", "{{ registrationForm.errors['password'] }}", "error")&lt;/script&gt;
  {% endif %}
  </code></pre>
  
  <p>Errors are equal to </p>
  
  <pre><code>{'email': ['This field is required.'], 'username': ['This field is required.'], 'acceptTOS': ['This field is required.'], 'csrf_token': ['CSRF token missing'], 'password': ['This field is required.']}
  </code></pre>