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
It seems possible to override it, but I'm not sure if this is meant to be "internal" or can be exposed/documented.
Input
Code
constbuilder=newXMLBuilder({// Object literal may only specify known properties, and 'entities' does not exist in type 'XmlBuilderOptions'.ts(2353)entities: [{regex: newRegExp("&","g"),val: "&"},//it must be on top{regex: newRegExp(">","g"),val: "FOO"},{regex: newRegExp("<","g"),val: "BAR"},{regex: newRegExp("'","g"),val: "HELLO"},],});
Output
expected data
Would you like to work on this issue?
Yes
No
Bookmark this repository for further updates. Visit SoloThought to know about recent features.
The text was updated successfully, but these errors were encountered:
We're glad you find this project helpful. We'll try to address this issue ASAP. You can vist https://solothought.com to know recent features. Don't forget to star this repo.
Description
Builder has an "entities" property that specifies some replacement on entities:
fast-xml-parser/src/xmlbuilder/json2xml.js
Line 25 in 96f7501
However, this property is not documented nor on XMLBuilderProperties:
fast-xml-parser/src/fxp.d.ts
Line 230 in 96f7501
It seems possible to override it, but I'm not sure if this is meant to be "internal" or can be exposed/documented.
Input
Code
Output
expected data
Would you like to work on this issue?
Bookmark this repository for further updates. Visit SoloThought to know about recent features.
The text was updated successfully, but these errors were encountered: