From 40a0bfd9797ae169ee6ee69fb222a9ae43edd51a Mon Sep 17 00:00:00 2001 From: Carsten Rinke Date: Mon, 3 Sep 2018 07:54:02 +0200 Subject: [PATCH] Bug796827 - Report HTML - it is not possible to suppress the document title includes update of test-report-html.scm (and CMakeLists.txt) --- .../report/report-system/html-document.scm | 14 ++-- .../report-system/test/test-report-html.scm | 78 ++++++++----------- 2 files changed, 37 insertions(+), 55 deletions(-) diff --git a/gnucash/report/report-system/html-document.scm b/gnucash/report/report-system/html-document.scm index e8888ba2e1..f7a3d39208 100644 --- a/gnucash/report/report-system/html-document.scm +++ b/gnucash/report/report-system/html-document.scm @@ -147,8 +147,7 @@ (gnc:html-document-style-stack doc)) ;; push it (gnc:html-document-push-style doc (gnc:html-document-style doc)) - (if (not (string-null? title)) - (gnc:report-render-starting (gnc:html-document-title doc))) + (gnc:report-render-starting (gnc:html-document-title doc)) (if headers? (begin ;;This is the only place where appears @@ -161,9 +160,8 @@ (push "\n") (if style-text (push (list "" style-text "