TR & options: upgrade HTML to XHTML

Upgrade <br> tags to <br /> to allow well-formed XML parsing.
This commit is contained in:
Christopher Lam 2018-02-19 23:29:12 +08:00
parent 03e862ec47
commit f7378e9332
2 changed files with 3 additions and 3 deletions

View File

@ -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)))
""))))

View File

@ -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