Describe the bug
const { fragment } = require('xmlbuilder2');
const mainTag = 'permissions';
const root = fragment({ encoding: 'UTF-8' }).ele(mainTag);
let content = '<copyright-statement>this copyright <bold>statement</bold> <italic>here</italic> <ext-link xmlns:xlink="http://www.w3.org/1999/xlink" ext-link-type="uri" xlink:href="google.com">wit</ext-link></copyright-statement><license xmlns:xlink="http://www.w3.org/1999/xlink" ><license-p>some license statement here <bold>statement</bold> <italic>here </italic> <ext-link xmlns:xlink="http://www.w3.org/1999/xlink" ext-link-type="uri" xlink:href="google.com">wit</ext-link>h stuff </license-p></license>';
console.log(content)
content = root.ele(content).end()
console.log(content)

To Reproduce
The above code should suffice to reproduce the issue.
Expected behavior
Space should be preserved after tags.
Version:
- node.js: [v17.6.0]
- xmlbuilder2 [3.0.2]
Additional context
Add any other context about the problem here.
Describe the bug
To Reproduce
The above code should suffice to reproduce the issue.
Expected behavior
Space should be preserved after tags.
Version:
Additional context
Add any other context about the problem here.