fix html double-escaping on the profile view (fixes #118)