From 8f35681843b922c905a10d7c74b30859cff88346 Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Mon, 6 Dec 1999 02:46:49 +0000 Subject: Added \" to escapes so embedded escaped double quotes are handled correctly. Patch suggested by Mads Kiilerich . --- Tools/i18n/pygettext.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Tools/i18n/pygettext.py b/Tools/i18n/pygettext.py index f8567e9..fcd6b95 100755 --- a/Tools/i18n/pygettext.py +++ b/Tools/i18n/pygettext.py @@ -137,6 +137,7 @@ escapes[ord('\\')] = '\\\\' escapes[ord('\t')] = '\\t' escapes[ord('\r')] = '\\r' escapes[ord('\n')] = '\\n' +escapes[ord('\"')] = '\\"' def escape(s): s = list(s) -- cgit v0.12