fix: strip html the printview's key value (#23606)

* fix: strip html the printview's key value

* fix: escape instead of strip html
This commit is contained in:
Shariq Ansari 2023-12-05 15:49:46 +05:30 committed by GitHub
parent b45df8d726
commit 69a96ad565
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -18,7 +18,7 @@
{{ _("Print") }}
</a>
<a class="p-2"
href="/api/method/frappe.utils.print_format.download_pdf?doctype={{doctype}}&name={{name}}&key={{key}}">
href="/api/method/frappe.utils.print_format.download_pdf?doctype={{doctype|e}}&name={{name|e}}&key={{key|e}}">
{{ _('Get PDF') }}
</a>
</div>