4 ms·
Not quite. `xmlint --format` can introduce unwanted spaces. Consider this example. <p><i>hello</i><b>!</b></p> `xmllint --format` adds a space between the 'o'
by oever 9y ago
Not quite. `xmlint --format` can introduce unwanted spaces. Consider this example.
<p><i>hello</i><b>!</b></p>
`xmllint --format` adds a space between the 'o' and the '!'.
- pingiun 9y agoAFAIK this is only a problem with html
- fusiongyro 9y agoIs there a way to reformat XML without introducing space?
- kccqzy 9y agoI think so. Technically you can put linebreaks and whitespace within XML tags.