Code styling
This commit is contained in:
parent
a50b52b317
commit
ac38610947
@ -313,6 +313,7 @@ class DocxTemplate(object):
|
||||
lambda x: re.sub(r"<[^>]+>", "", x),
|
||||
src_xml.splitlines()[line_number:(line_number + 7)],
|
||||
)
|
||||
|
||||
raise exc
|
||||
dst_xml = re.sub(r"\n<w:p([ >])", r"<w:p\1", dst_xml)
|
||||
dst_xml = (
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user