We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 34925ae commit dc95c5bCopy full SHA for dc95c5b
src/XMLStringifier.coffee
@@ -59,7 +59,7 @@ module.exports = class XMLStringifier
59
60
# strings to match while converting from JS objects
61
convertAttKey: '@'
62
- convertPIKey: '!'
+ convertPIKey: '?'
63
convertTextKey: '#text'
64
convertCDataKey: '#cdata'
65
convertCommentKey: '#comment'
test/object.coffee
@@ -60,7 +60,7 @@ vows
person:
name: "John"
'@age': 35
- '!pi': 'mypi'
+ '?pi': 'mypi'
'#comment': 'Good guy'
'#cdata': 'well formed!'
66
unescaped:
0 commit comments