Skip to content

Conversation

@cnoll
Copy link
Contributor

@cnoll cnoll commented Aug 1, 2023

Hello,
I couldn't find a option to force the self-closing of empty tags, so I decided to do my first contribution on github.
I hope it works well :)

Option: forceSelfClosingEmptyTag

Input:

<root>
    <empty></empty>
</root>

Output:

<root>
    <empty/>
</root>

Kind regards
Constantin

@chrisbottin chrisbottin merged commit 442addd into chrisbottin:master Aug 5, 2023
@chrisbottin
Copy link
Owner

Thanks for the contribution @cnoll. The PR is now merged and a new version will be published shortly.

@chrisbottin
Copy link
Owner

Option available in version [email protected]

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.

3 participants