('fill=\'#cafe09\'', 'class=\'m-dim\'')
}
-_patch_src = re.compile(r"""<\?xml version='1\.0' encoding='UTF-8'\?>
+# dvisvgm 1.9.2 (on Ubuntu 16.04) doesn't specify the encoding part. However
+# that version reports broken "depth", meaning inline equations are not
+# vertically aligned properly, so it can't be made to work 100% correct anyway.
+_patch_src = re.compile(r"""<\?xml version='1\.0'( encoding='UTF-8')?\?>
<!-- This file was generated by dvisvgm \d+\.\d+\.\d+ -->
<svg height='(?P<height>[^']+)pt' version='1.1' viewBox='(?P<viewBox>[^']+)' width='(?P<width>[^']+)pt' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'>
""")