Fixes #3246: Missing spacing in HTML.
Fixes #3312: Sanitize payment titles.