aboutsummaryrefslogtreecommitdiff
path: root/lib/docx/relationships-reader.js
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2015-08-16 15:59:55 +0100
committerMichael Williamson <mike@zwobble.org>2015-08-16 15:59:55 +0100
commit4236b58ed1e5448b0ce43b87bf6b5df585db2a32 (patch)
treec413fd0f91ad864dd2370f4047137304ce9d9f49 /lib/docx/relationships-reader.js
parenta2872927a9616ca63387c96e5c7c95b184bb6ebc (diff)
Don't include colon when using curly brace syntax for node names
Diffstat (limited to 'lib/docx/relationships-reader.js')
-rw-r--r--lib/docx/relationships-reader.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/docx/relationships-reader.js b/lib/docx/relationships-reader.js
index 7cae534..7747bda 100644
--- a/lib/docx/relationships-reader.js
+++ b/lib/docx/relationships-reader.js
@@ -4,7 +4,7 @@ exports.readRelationships = readRelationships;
function readRelationships(relationshipsXml) {
var relationships = {};
relationshipsXml.root.children.forEach(function(child) {
- if (child.name === "{http://schemas.openxmlformats.org/package/2006/relationships}:Relationship") {
+ if (child.name === "{http://schemas.openxmlformats.org/package/2006/relationships}Relationship") {
relationships[child.attributes.Id] = {
target: child.attributes.Target
};