Functions should return HTML, not output it
Fix: undefined variable error when sending pending-change emails
#1200916 - Census assistant fails to turn first line of note into a link