diff sat/plugins/plugin_misc_text_syntaxes.py @ 3075:501a1a3c8594

plugin text syntaxes: don't use anymore deprecated cgi.escape
author Goffi <goffi@goffi.org>
date Mon, 18 Nov 2019 20:50:34 +0100
parents fee60f17ebac
children 9d0df638c8b4
line wrap: on
line diff
--- a/sat/plugins/plugin_misc_text_syntaxes.py	Fri Nov 15 17:57:49 2019 +0100
+++ b/sat/plugins/plugin_misc_text_syntaxes.py	Mon Nov 18 20:50:34 2019 +0100
@@ -18,7 +18,7 @@
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 import re
-from cgi import escape
+from html import escape
 from functools import partial
 from sat.core.i18n import _, D_
 from sat.core.constants import Const as C