' instead of '/>'
.
When the markup selfCloseSpace
rule is enabled (i.e: true
) then forward slash closing delimiters will insert a single space character.
<!-- Before formatting -->
<picture>
<path srcset="."/>
<path srcset="."/>
</picture>
<!-- After Formatting - Notice the the space insertion applied -->
<picture>
<path srcset="."/>
<path srcset="."/>
</picture>
<!-- Before formatting -->
<picture>
<path srcset="." />
<path srcset="." />
</picture>
<!-- After Formatting - Notice the the space insertion applied -->
<picture>
<path srcset="." />
<path srcset="." />
</picture>
When the markup selfCloseSpace
rule is disabled (i.e: false
) then forward slash closing delimiters will strip leading spaces.
<!-- Before formatting -->
<picture>
<path srcset="." />
<path srcset="." />
</picture>
<!-- After Formatting - Notice the the space insertion applied -->
<picture>
<path srcset="." />
<path srcset="." />
</picture>
<!-- Before formatting -->
<picture>
<path srcset="."/>
<path srcset="."/>
</picture>
<!-- After Formatting - Notice the the space insertion applied -->
<picture>
<path srcset="."/>
<path srcset="."/>
</picture>