Code formatting - preserve whitespace in self closing tags

Hello everyone,

I've been unsucesfuly searching to locate where or how I'd change code formatting settings to preserve a space before the forward slash of self-closing tags, like:

<jdoc:include type="component" />

<jdoc:include type="component"/>

Any help is greatly appreciated!



1 comment
Comment actions Permalink

Found it!

Settings => Code Style => HTML => Other => Spaces => in empty tag (checked to preserve)


Please sign in to leave a comment.