mirror of
https://github.com/frappe/erpnext.git
synced 2026-08-25 21:05:19 +00:00
fix: render terms and conditions through sanitize_html on order page
This commit is contained in:
@@ -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 %}
|
||||
|
||||
Reference in New Issue
Block a user