Я понимаю, что flash()
принимает только строку и показывает, что на перенаправленной странице.
Я пытаюсь отправить html через flash
message = "<h1>Voila! Platform is ready to used</h1>"
flash(message)
return render_template('output.html')
output.html
<div class="flashes">
{% for message in get_flashed_messages()%}
{{ message }}
{% endfor %}
</div>
Но он отображается как строка <h1>Voila! Platform is ready to used</h1>
, есть ли способ преодолеть это.