Closed kilianc closed 9 years ago
This is working as expected as I've got no way to tell if div
is an inline element. By default div
is a block level element and should not need flowing spaces. That said there are two fixes possible.
span
inside the div
. loose: true
, this will increase the overall whitespace a bit, not by much. Almost forgot you could also write a plugin that parses the inline styles for the element and determines if it is inline or not, this is beyond the scope of the main project though
Yeah @Swaagie , I think I will use this to write more semantic code, there is no reason to use a div there..
will yield