summaryrefslogtreecommitdiff
path: root/src/xhtml.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2013-06-08 23:51:47 +0200
committermathieui <mathieui@mathieui.net>2013-06-08 23:51:47 +0200
commit9b8ed569bb202da1c1a7e88eff32152730b3f322 (patch)
treea07dc8d2144b754551c999b9859b697021bdc762 /src/xhtml.py
parent26ea842cee32623aafea3f05d4a0b347428712c3 (diff)
downloadpoezio-9b8ed569bb202da1c1a7e88eff32152730b3f322.tar.gz
poezio-9b8ed569bb202da1c1a7e88eff32152730b3f322.tar.bz2
poezio-9b8ed569bb202da1c1a7e88eff32152730b3f322.tar.xz
poezio-9b8ed569bb202da1c1a7e88eff32152730b3f322.zip
Fix the regex for text attributes
Diffstat (limited to 'src/xhtml.py')
-rw-r--r--src/xhtml.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xhtml.py b/src/xhtml.py
index e34ea3e7..f95f3a15 100644
--- a/src/xhtml.py
+++ b/src/xhtml.py
@@ -180,7 +180,7 @@ log = logging.getLogger(__name__)
whitespace_re = re.compile(r'\s+')
-xhtml_attr_re = re.compile(r'\x19\d{0,3}\}|\x19[buaio]')
+xhtml_attr_re = re.compile(r'\x19-?\d[^}]*}|\x19[buaio]')
xhtml_simple_attr_re = re.compile(r'\x19\d')