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:
@@ -51,7 +51,9 @@
|
|||||||
{% endmacro %}
|
{% endmacro %}
|
||||||
|
|
||||||
{% macro render_section_text(s) %}
|
{% macro render_section_text(s) %}
|
||||||
{{ s.contents | markdown }}
|
<p>BEGIN SECTION</p>
|
||||||
|
{{ frappe.utils.md_to_html(s.contents) }}
|
||||||
|
<p>END SECTION</p>
|
||||||
{% endmacro %}
|
{% endmacro %}
|
||||||
|
|
||||||
{%- block script %}
|
{%- block script %}
|
||||||
|
|||||||
Reference in New Issue
Block a user