aboutsummaryrefslogtreecommitdiff
path: root/bin/mr2osc.mjs
diff options
context:
space:
mode:
Diffstat (limited to 'bin/mr2osc.mjs')
-rwxr-xr-xbin/mr2osc.mjs3
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/mr2osc.mjs b/bin/mr2osc.mjs
index 7256624..4c3401b 100755
--- a/bin/mr2osc.mjs
+++ b/bin/mr2osc.mjs
@@ -360,13 +360,12 @@ async function uploadChanges() {
}, Object.assign({
compact: true,
attributeValueFn: value => {
- // TODO need to test this via the dev api
+ // these values were tested with test/xmlEntities.js
return value.replace(/"/g, '"') // convert quote back before converting amp
.replace(/&/g, '&')
.replace(/</g, '&lt;')
.replace(/>/g, '&gt;')
.replace(/"/g, '&quot;')
- .replace(/'/g, '&apos;')
}
}, argv.dryRun ? { spaces: 2 } : {}))