Skip to content
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

Feature Request: Pretty Print keep full empty XML element #36

Closed
Snabel42 opened this issue Mar 7, 2020 · 2 comments
Closed

Feature Request: Pretty Print keep full empty XML element #36

Snabel42 opened this issue Mar 7, 2020 · 2 comments

Comments

@Snabel42
Copy link

Snabel42 commented Mar 7, 2020

Pretty print with line break will change how an empty XML elements is displayed.
This comment explains it well.

I also know that this is valid XML, but there are times where all I want is to clean the formatting yet keep the actual content identical.

Would it be possible to add an option to leave empty XML elements as is ?

@Snabel42 Snabel42 changed the title Pretty Print changes empty element Feature Requset: Pretty Print keep full empty XML element Mar 7, 2020
@Snabel42 Snabel42 changed the title Feature Requset: Pretty Print keep full empty XML element Feature Request: Pretty Print keep full empty XML element Mar 7, 2020
@morbac
Copy link
Owner

morbac commented Mar 22, 2020

The pretty print function has been fully rewritten in 3.0.4.0 and fix the full empty xml element replacement.
Since version 3.0.4.1 the full empty xml element replacement can be activated/disactivated in options dialog.

@LetMeSleepAlready
Copy link
Collaborator

Closing as issue was solved and no further feedback

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

No branches or pull requests

3 participants