fix: render terms and conditions through sanitize_html on order page

This commit is contained in:
diptanilsaha
2026-08-18 22:49:06 +05:30
parent bc0fd611d4
commit c42d653da5

View File

@@ -151,7 +151,7 @@
{% if doc.terms %}
<div class="terms-and-condition text-muted small">
<hr>
<p>{{ doc.terms }}</p>
<p>{{ frappe.sanitize_html(doc.terms) }}</p>
</div>
{% endif %}
{% endblock %}