diff options
| author | Michael Williamson <mike@zwobble.org> | 2015-08-16 15:59:55 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2015-08-16 15:59:55 +0100 |
| commit | 4236b58ed1e5448b0ce43b87bf6b5df585db2a32 (patch) | |
| tree | c413fd0f91ad864dd2370f4047137304ce9d9f49 /lib/docx/style-map.js | |
| parent | a2872927a9616ca63387c96e5c7c95b184bb6ebc (diff) | |
Don't include colon when using curly brace syntax for node names
Diffstat (limited to 'lib/docx/style-map.js')
| -rw-r--r-- | lib/docx/style-map.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/docx/style-map.js b/lib/docx/style-map.js index bd770bd..76f6903 100644 --- a/lib/docx/style-map.js +++ b/lib/docx/style-map.js @@ -19,7 +19,7 @@ function updateRelationships(docxFile) { return officeXml.readXmlFromZipFile(docxFile, path) .then(function(relationshipsDocument) { var relationships = relationshipsDocument.root; - relationships.children.push(xml.element("{" + relationshipsUri + "}:Relationship", { + relationships.children.push(xml.element("{" + relationshipsUri + "}Relationship", { "Id": "rMammothStyleMap", "Type": "http://schemas.zwobble.org/mammoth/style-map", "Target": "/" + styleMapPath |
