This commit is contained in:
Kovid Goyal 2012-03-10 09:04:06 +05:30
parent 0d8d44567b
commit 35d005f752

View File

@ -245,7 +245,7 @@ def insert_images_into_markup(parts, resource_map, log):
parts[i] = part parts[i] = part
def upshift_markup(parts): def upshift_markup(parts):
tag_pattern = re.compile(r'''(<(svg)[^>]*>)''', re.IGNORECASE) tag_pattern = re.compile(r'''(<(?:svg)[^>]*>)''', re.IGNORECASE)
for i in xrange(len(parts)): for i in xrange(len(parts)):
part = parts[i] part = parts[i]