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!

Best,

Matt

2 comments
Comment actions Permalink

Found it!

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

12

Please sign in to leave a comment.