Commit a23dc001 authored by jvoisin's avatar jvoisin

Improve compatibility with MS Office of cleaned ppt

parent f93df85d
Pipeline #35635 passed with stages
in 7 minutes and 24 seconds
......@@ -307,7 +307,7 @@ class MSOfficeParser(ZipParser):
# This file must be present and valid,
# so we're removing as much as we can.
with open(full_path, 'wb') as f:
f.write(b'<?xml version="1.0">')
f.write(b'<?xml version="1.0" encoding="UTF-8" standalone="yes"?>')
uid = str(uuid.uuid4()).encode('utf-8')
f.write(b'<a:tblStyleLst def="{%s}" xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main"/>' % uid)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment