-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
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
Spaces between elements breaks pretty_print #84
Comments
The xml module is upstream now (and ships with Ansible v2.4). Please close this issue, and if needed, open a new issue at: https://github.com/ansible/ansible/issues |
I reproduced this issue with ansible devel and lxml 3.8.0 |
Just checked. The cause is within etree.tostring() from lxml and it's not a bug, but a feature: |
I would like to start listing caveats with the xml module. We can start compiling a list on the Wiki, then move the important items to the notes of the module documentation. |
This behaviour is noted here, so this issue now can be closed. |
When using input_type=xml and having a space between elements, pretty_print doesn't work.
Steps to reproduce:
The text was updated successfully, but these errors were encountered: