From 9b3699409aa696461b177c2d3c5e28d4905a0aa0 Mon Sep 17 00:00:00 2001 From: milde Date: Sat, 27 May 2017 13:42:36 +0000 Subject: [PATCH] Fix the "warn only once" mechanism of the smartquotes transform. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Thanks to Jean François for test and report. git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk/docutils@8084 929543f6-e4f2-0310-98a6-ba3bd3dd1d04 --- docutils/transforms/universal.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docutils/transforms/universal.py b/docutils/transforms/universal.py index 6b1620443..e90055401 100644 --- a/docutils/transforms/universal.py +++ b/docutils/transforms/universal.py @@ -296,4 +296,4 @@ class SmartQuotes(Transform): for txtnode, newtext in zip(txtnodes, teacher): txtnode.parent.replace(txtnode, nodes.Text(newtext)) - self.unsupported_languages = set() # reset + self.unsupported_languages = set() # reset -- 2.11.4.GIT