We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
Currently, when an object is serialized, there are body elements that don't get closed, such as:
<SIGNONMSGSRSV1> <SONRS> <STATUS> <CODE>0 <SEVERITY>INFO </STATUS> <DTSERVER>20210330 <LANGUAGE>POR <FI> <ORG>Some Bank Out There <FID>0123 </FI> </SONRS> </SIGNONMSGSRSV1>
It would be interesting if there was an option to close all tags, like:
const options: { closeTags: true } ofx.serialize(header, body, options);
Which in turn would result in the following content:
<SIGNONMSGSRSV1> <SONRS> <STATUS> <CODE>0</CODE> <SEVERITY>INFO</SEVERITY> </STATUS> <DTSERVER>20210330</DTSERVER> <LANGUAGE>POR</LANGUAGE> <FI> <ORG>Some Bank Out There</ORG> <FID>0123</FID> </FI> </SONRS> </SIGNONMSGSRSV1>
I'll work on a PR later on today.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
Currently, when an object is serialized, there are body elements that don't get closed, such as:
It would be interesting if there was an option to close all tags, like:
Which in turn would result in the following content:
I'll work on a PR later on today.
The text was updated successfully, but these errors were encountered: