Fix unicode handling in 'View HTML code as formated text'. Fixes #667

Implemented like in main view (`def tableWidgetInboxItemClicked(self)`) except for substitution logic.