mirror of
https://github.com/frappe/erpnext.git
synced 2026-08-25 04:53:01 +00:00
fix: escape item image url in compact item print description
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
|
||||
{% if doc.in_format_data("image") and doc.get("image") and "image" in display_columns -%}
|
||||
<div class="pull-left" style="max-width: 40%; margin-right: 10px;">
|
||||
<img class="print-item-image" src="{{ doc.image }}" alt="">
|
||||
<img class="print-item-image" src="{{ doc.image | e }}" alt="">
|
||||
</div>
|
||||
{%- endif %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user