I am using a Jinja2 macro to display a dict with values that contain HTML tags on my website:
{% macro print_res(key, value) %}
<b>{{ key|capitalize }}:</b> {{ value }}
<br>
{% endmacro %}
When I pass the dict to the macro however, the webpage is showing the actual HTML tags like when I would like the actual text to be italicized.
Is there a way to do this?
Thank you!