Skip to content

Element Formatting

David Grochocki edited this page Sep 3, 2018 · 3 revisions

Put Ending Brackets On New Line

Defines whether to put closing brackets on a new line.

Default Value: false

Put Ending Brackets On New Line Example

Remove Ending Tag of Empty Elements

Defines whether to remove the end tag of an empty element.

Default Value: true

Remove Ending Tag of Empty Elements Example

Space Before Ending Slash in Self-Closing Elements

Defines whether there should be a space before the slash in ending brackets for self-closing elements.

Default Value: true

Space Before Ending Slash in Self-Closing Elements Example

Root element line breaks between attributes

Defines whether attributes of the document root element are broken into multiple lines. Options: Default, Always, Never.

Default Value: Default (use same rules as other elements)