From dae26da037744a129a1bfc78b0dd62343d249bd6 Mon Sep 17 00:00:00 2001 From: Christopher Lam Date: Sat, 13 Jul 2019 22:55:50 +0800 Subject: [PATCH] [owner-report] sanitize strings in preparation for tests --- gnucash/report/business-reports/owner-report.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gnucash/report/business-reports/owner-report.scm b/gnucash/report/business-reports/owner-report.scm index 47dd06985e..d71664229a 100644 --- a/gnucash/report/business-reports/owner-report.scm +++ b/gnucash/report/business-reports/owner-report.scm @@ -285,11 +285,11 @@ (qof-print-date due-date) ""))) (if (num-col column-vector) - (addto! row-contents num)) + (addto! row-contents (gnc:html-string-sanitize num))) (if (type-col column-vector) (addto! row-contents type-str)) (if (memo-col column-vector) - (addto! row-contents memo)) + (addto! row-contents (gnc:html-string-sanitize memo))) (if (sale-col column-vector) (addto! row-contents (gnc:make-html-table-cell/markup "number-cell" sale)))