fast-xml-parser
fast-xml-parser copied to clipboard
How to insert a string containing single quotes into #text?
I am using the latest version of fxp. Normally, I can successfully change the #text value of a certain tag. However, when I try to insert a string containing single quotes or other special characters, the builder will escape them automatically, which is not what I want. Here is an example:
value['#text'] = `{{ fn('${generateKey(text)}') }}`;
output:
<div>{{ fn('content') }}</div>
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.