You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/v4/2.XMLparseOptions.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -885,7 +885,7 @@ const xmlDataStr = `
885
885
<empty />
886
886
<unpaired>
887
887
<unpaired />
888
-
<unpaired></unpaired>
888
+
<unpaired>
889
889
</rootNode>`;
890
890
891
891
constoptions= {
@@ -904,7 +904,7 @@ Output
904
904
}
905
905
}
906
906
```
907
-
907
+
**Note**: Unpaired tag can't be used as closing tag e.g. `</unpaired>` is not allowed.
908
908
## updateTag
909
909
910
910
This property allow you to change tag name when you send different name, skip a tag from the parsing result when you return false, or to change attributes.
0 commit comments