--- a/eric6.py Mon Aug 07 18:00:51 2017 +0200 +++ b/eric6.py Tue Aug 08 10:53:10 2017 +0200 @@ -144,7 +144,6 @@ @param excValue exception value @param tracebackobj traceback object """ - import xml.sax.saxutils from UI.Info import BugAddress import Utilities import Globals @@ -197,7 +196,10 @@ else: warning = notice + msg + versionInfo # Escape &<> otherwise it's not visible in the error dialog - warning = xml.sax.saxutils.escape(warning) + warning = warning\ + .replace("&", "&")\ + .replace(">", ">")\ + .replace("<", "<") if sys.version_info[0] == 2: warning = warning.encode('utf-8', 'replace') qWarning(warning)