From 69a96ad56547d6d622826a9623a531f39ade4e5b Mon Sep 17 00:00:00 2001 From: Shariq Ansari <30859809+shariquerik@users.noreply.github.com> Date: Tue, 5 Dec 2023 15:49:46 +0530 Subject: [PATCH] fix: strip html the printview's key value (#23606) * fix: strip html the printview's key value * fix: escape instead of strip html --- frappe/www/printview.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frappe/www/printview.html b/frappe/www/printview.html index 07c93562c0..a377fab8ea 100644 --- a/frappe/www/printview.html +++ b/frappe/www/printview.html @@ -18,7 +18,7 @@ {{ _("Print") }} + href="/api/method/frappe.utils.print_format.download_pdf?doctype={{doctype|e}}&name={{name|e}}&key={{key|e}}"> {{ _('Get PDF') }}