Skip to content

Commit

Permalink
TR & options: upgrade HTML to XHTML
Browse files Browse the repository at this point in the history
Upgrade <br> tags to <br /> to allow well-formed XML parsing.
  • Loading branch information
christopherlam committed Feb 23, 2018
1 parent 03e862e commit f7378e9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gnucash/report/standard-reports/transaction.scm
Expand Up @@ -1095,7 +1095,7 @@ tags within description, notes or memo. ")
str
(if (column-uses? 'common-currency)
(string-append
"<br>"
"<br />"
(gnc-commodity-get-mnemonic
(opt-val gnc:pagename-general optname-currency)))
""))))
Expand Down
4 changes: 2 additions & 2 deletions libgnucash/app-utils/options.scm
Expand Up @@ -2056,8 +2056,8 @@
(set! row-contents (cons return-string row-contents)))))
(gnc:options-for-each disp-option-if-changed options)
(string-append (string-join (reverse row-contents)
(if plaintext? "\n" "<br>"))
(if plaintext? "\n\n" "<br><br>"))))
(if plaintext? "\n" "<br />"))
(if plaintext? "\n\n" "<br /><br />"))))

(define (gnc:send-options db_handle options)
(gnc:options-for-each
Expand Down

0 comments on commit f7378e9

Please sign in to comment.