Skip to content

Pretty print#239

Merged
leifj merged 10 commits intoIdentityPython:masterfrom
guillomovitch:pretty-print
Mar 16, 2023
Merged

Pretty print#239
leifj merged 10 commits intoIdentityPython:masterfrom
guillomovitch:pretty-print

Conversation

@guillomovitch
Copy link

This PR allows to optionally pretty-print XML output.

@c00kiemon5ter
Copy link
Member

Note that whitespace is significant for XML. Pretty-printing will result in documents with broken signatures, unless the signature is calculated after reformatting the nodes.

@guillomovitch
Copy link
Author

Indeed. Here is a better solution, using a dedicated 'indent' action, allowing to reformat before signing.
I kept pretty_print option as a lighter alternative, but it now has limited interest.

@leifj leifj merged commit c9de6b9 into IdentityPython:master Mar 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants