Skip to content

Commit 767f85c

Browse files
committed
Add xmlSelfClosingTags option to disable auto-self-closing empty elements
Adds a new option xmlSelfClosingTags (default: true) that controls whether empty elements are rendered as <tag/> or <tag></tag>. When set to false, empty elements preserve explicit open/close tags, which is useful for Salesforce metadata and other XML formats where self-closing syntax causes unwanted VCS diffs. Fixes: #793
1 parent 773d5dc commit 767f85c

4 files changed

Lines changed: 5959 additions & 780 deletions

File tree

0 commit comments

Comments
 (0)