utils/exc: Ensure exception text is escaped in HTML error page
Some exception texts like the RemoteException ones were not correctly rendered in HTML error page as they were not escaped.
Depends on !939 (closed)
Migrated from D8781 (view on Phabricator)