Skip to content

Commit 54d2262

Browse files
Fix captureMetaData casing (#773)
1 parent e0769f2 commit 54d2262

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/v4/2.XMLparseOptions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1001,9 +1001,9 @@ const parser = new XMLParser(options);
10011001
const output = parser.parse(xmlDataStr);
10021002
```
10031003

1004-
## captureMetadata
1004+
## captureMetaData
10051005

1006-
If `captureMetadata` is true, then a [Symbol](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Symbol) is added to nodes with metadata about that node.
1006+
If `captureMetaData` is true, then a [Symbol](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Symbol) is added to nodes with metadata about that node.
10071007

10081008
`XMLParser.getMetaDataSymbol()` will return the symbol. Being a Symbol, this property
10091009
will not normally appear in, for example, `Object.keys`.

0 commit comments

Comments
 (0)