Ideally you'd submit changes in a PR or bugzilla so that further architectural changes may be debated. For illustration on further work, try this fix in html-style-info.scm: it'll sanitize most/all strings, but many old reports will be damaged because they use html for layout:
gnucash/report/html-style-info.scm @@ -161,7 +161,7 @@ ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (define (gnc:default-html-string-renderer datum params) - datum) + (gnc:html-string-sanitize datum)) (define (gnc:default-html-gnc-numeric-renderer datum params) (xaccPrintAmount datum (gnc-default-print-info #f))) On Thu, 1 Oct 2020 at 08:54, Chris Green <[email protected]> wrote: > > That's exactly why I called it a hack. :-) > > I've actually now dug down into the scheme files that generate the > reports and they're not as frightening as I thought from looking at > the documentation. So I'll modify and customise reports by adapting > the scheme files. > _______________________________________________ gnucash-user mailing list [email protected] To update your subscription preferences or to unsubscribe: https://lists.gnucash.org/mailman/listinfo/gnucash-user If you are using Nabble or Gmane, please see https://wiki.gnucash.org/wiki/Mailing_Lists for more information. ----- Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All.
