mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
[stylesheet-plain][html5] omit <h3></h3> when headline is empty.
We compare headline with "", rather than test (string-null? headline), because headline may be either a string or a complex gnc:html-text object.
This commit is contained in:
parent
9bb2e4a21a
commit
eea5ac98c0
@ -213,7 +213,7 @@
|
||||
|
||||
(let ((headline (or (gnc:html-document-headline doc)
|
||||
(gnc:html-document-title doc))))
|
||||
(if headline
|
||||
(if (and headline (not (equal? headline "")))
|
||||
(gnc:html-document-add-object!
|
||||
ssdoc
|
||||
(gnc:make-html-text
|
||||
|
Loading…
Reference in New Issue
Block a user