We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9b4fdee + 74646b2 commit 06c0bdbCopy full SHA for 06c0bdb
openformats/formats/docx.py
@@ -103,6 +103,10 @@ def __init__(self, content):
103
base_rels_path = '{}/{}'.format(self.__tmp_folder, '_rels/.rels')
104
with io.open(base_rels_path, 'r') as f:
105
base_rels = f.read()
106
+
107
+ if base_rels.startswith("\ufeff"):
108
+ # Remove BOM
109
+ base_rels = base_rels.replace("\ufeff", "")
110
111
document_relative_path = next((
112
relationship
0 commit comments