From 39b4e603b0b989fcace3d82d9284bc88b87bd6cf Mon Sep 17 00:00:00 2001 From: =?utf8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Tue, 19 Jun 2018 01:26:01 +0200 Subject: [PATCH] m.math: escape more things in the regexp. --- pelican-plugins/latex2svgextra.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pelican-plugins/latex2svgextra.py b/pelican-plugins/latex2svgextra.py index a93be7af..4a0d8699 100644 --- a/pelican-plugins/latex2svgextra.py +++ b/pelican-plugins/latex2svgextra.py @@ -68,7 +68,7 @@ _class_mapping = { ('fill=\'#cafe09\'', 'class=\'m-dim\'') } -_patch_src = re.compile(r"""<\?xml version='1.0' encoding='UTF-8'\?> +_patch_src = re.compile(r"""<\?xml version='1\.0' encoding='UTF-8'\?> """) -- 2.30.2