gnucash maint: [eguile] escape-html -> gnc:html-string-sanitize
Christopher Lam
clam at code.gnucash.org
Sat Apr 4 10:40:31 EDT 2020
Updated via https://github.com/Gnucash/gnucash/commit/d5960567 (commit)
from https://github.com/Gnucash/gnucash/commit/96980193 (commit)
commit d5960567866bbf7ab7085056ca60293e3aff5831
Author: Christopher Lam <christopher.lck at gmail.com>
Date: Sat Apr 4 21:48:58 2020 +0800
[eguile] escape-html -> gnc:html-string-sanitize
forgot to substitute function which was removed in a previous commit
32692721. this shouldn't matter because debugging? is #f in
production.
diff --git a/gnucash/report/report-system/eguile-html-utilities.scm b/gnucash/report/report-system/eguile-html-utilities.scm
index 7ff8a94d6..d079b4a76 100644
--- a/gnucash/report/report-system/eguile-html-utilities.scm
+++ b/gnucash/report/report-system/eguile-html-utilities.scm
@@ -70,7 +70,7 @@
(string-append "<span class=\"foreign\">" item "</span>"))
;; Convert any x into something printable as HTML
-(define-public (dump x) (escape-html (object->string x)))
+(define-public (dump x) (gnc:html-string-sanitize (object->string x)))
; ddump does the display as well -- for use in eguile reports
; where anything 'display'ed becomes part of the report
(define-public (ddump x) (display (dump x)))
Summary of changes:
gnucash/report/report-system/eguile-html-utilities.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
More information about the gnucash-changes
mailing list