Switched to using frappe.utils.md_to_html for rendering markdown.

The `markdown` filter doesn't convert to html if there is any html tag in the
input.
This commit is contained in:
Anand Chitipothu
2021-03-23 04:20:54 +00:00
parent f8ba10dfba
commit 03a22bd537

View File

@@ -51,7 +51,9 @@
{% endmacro %}
{% macro render_section_text(s) %}
{{ s.contents | markdown }}
<p>BEGIN SECTION</p>
{{ frappe.utils.md_to_html(s.contents) }}
<p>END SECTION</p>
{% endmacro %}
{%- block script %}