title: How to display html content through flask messages?
body: <p>I understand that <code>flash()</code> takes only string and displays that in the redirected page.
  I m trying to send html through flash</p>
  
  <pre><code>message = "&lt;h1&gt;Voila! Platform is ready to used&lt;/h1&gt;"
  flash(message)
  return render_template('output.html')
  </code></pre>
  
  <p><strong>output.html</strong></p>
  
  <pre><code>&lt;div class="flashes"&gt;
    {% for message in get_flashed_messages()%}
      {{ message }}
    {% endfor %}
  &lt;/div&gt;
  </code></pre>
  
  <p>But it is displaying as string <code>&lt;h1&gt;Voila! Platform is ready to used&lt;/h1&gt;</code> is there any way to overcome this.</p>