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
When I use the node example with the option preserveResolvedObjectTags: false, the HTML output still contains the A or OBJECT tags.
preserveResolvedObjectTags: false
A
OBJECT
If you replace the parentNode instead of adding it to the childNodes, it works better: https://github.com/kontent-ai/kontent-delivery-node-parser/blob/master/lib/parser/implementation/shared.ts#L155
parentNode
childNodes
- element.childNodes = [rootNode]; + Object.entries(rootNode).forEach(([attributeName, attributeValue]) => { + element[attributeName] = attributeValue + })
No duplicated tags.
Add any other context about the problem here.
Add links to screenshots, if possible.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Brief bug description
When I use the node example with the option
preserveResolvedObjectTags: false
, the HTML output still contains theA
orOBJECT
tags.If you replace the
parentNode
instead of adding it to thechildNodes
, it works better:https://github.com/kontent-ai/kontent-delivery-node-parser/blob/master/lib/parser/implementation/shared.ts#L155
Expected behavior
No duplicated tags.
Test environment
Additional context
Add any other context about the problem here.
Screenshots
Add links to screenshots, if possible.
The text was updated successfully, but these errors were encountered: