[GNC] Report headings, can one separate the company name from the report name?
Christopher Lam
christopher.lck at gmail.com
Thu Oct 1 09:52:55 EDT 2020
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 <cl at isbd.net> 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.
>
More information about the gnucash-user
mailing list