From 99ca5e5dd8547a73648e59f7238a79d618c7f9f9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20Wobst?= Date: Thu, 17 Dec 2009 20:16:33 +0000 Subject: [PATCH] small adjustment to the new quoted brackets code git-svn-id: https://pyx.svn.sourceforge.net/svnroot/pyx/trunk/pyx@3014 069f4177-920e-0410-937b-c2a4a81bcd90 --- pyx/text.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyx/text.py b/pyx/text.py index 8b4fa3af..6033283a 100644 --- a/pyx/text.py +++ b/pyx/text.py @@ -262,7 +262,7 @@ class _texmessageload(texmessage): inquote = 0 res = "" for i, c in enumerate(s): - if quotes: + if quotes and level <= maxlevel: if not inquote and c == quotes[0] and i and s[i-1] == brackets[0]: inquote = 1 elif inquote and c == quotes[1]: -- 2.11.4.GIT