From 344a272f57666d94060eee24ae321d65540b3553 Mon Sep 17 00:00:00 2001 From: gnieark Date: Thu, 15 Jul 2021 10:48:21 +0200 Subject: [PATCH] webui: quote strings with slashes in pool details view Strings comming from "translate" function can contain apostrophes that need to be escaped. --- webui/module/Pool/view/pool/pool/details.phtml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/webui/module/Pool/view/pool/pool/details.phtml b/webui/module/Pool/view/pool/pool/details.phtml index 1b08a316709..28e735969ee 100644 --- a/webui/module/Pool/view/pool/pool/details.phtml +++ b/webui/module/Pool/view/pool/pool/details.phtml @@ -295,23 +295,23 @@ $this->headTitle($title); html.push('
'); html.push(''); html.push(''); - html.push(''); + html.push(''); html.push(''); html.push(''); html.push(''); - html.push(''); + html.push(''); html.push(''); html.push(''); html.push(''); - html.push(''); + html.push(''); html.push(''); html.push(''); html.push(''); - html.push(''); + html.push(''); html.push(''); html.push(''); html.push(''); - html.push(''); + html.push(''); html.push(''); html.push(''); html.push('
translate("Label date"); ?>translate("Label date")); ?>' + row.labeldate + '
translate("First written"); ?>translate("First written")); ?>' + row.firstwritten + '
translate("Last written"); ?>translate("Last written")); ?>' + row.lastwritten + '
translate("Volume jobs"); ?>translate("Volume jobs")); ?>' + row.voljobs + '
translate("Recycle"); ?>translate("Recycle")); ?>' + formatRecycle(row.recycle) + '
');