Closed iamwxq closed 10 months ago
Ok, now I know the reason why it works like that. Because of the maxAttrsPerLine
, when it was set to a number, tag will be formatted as that, and once I set it to null
, everything will be ok.
Thanks for reporting.
The rule of
*.selfClosing
says when I set it totrue
, the tag will be formatted as<div />
.But actually it will be formatted as
<div />
, so that there are two space in the tag which one is redundant.I don't know if it should be like that or it's a bug.
Case following:
input:
output:
Here comes my
markup
config: