# HG changeset patch # User Goffi # Date 1574106634 -3600 # Node ID 501a1a3c8594e837a9a176a29f0b1e46644afc81 # Parent c2625920e05a78050b63fd94888533b17ded70ab plugin text syntaxes: don't use anymore deprecated cgi.escape diff -r c2625920e05a -r 501a1a3c8594 sat/plugins/plugin_misc_text_syntaxes.py --- 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 . 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