I'm marking this as draft because it's not actually addressing the problem, it's a workaround. I was not able to find the offset between the initial indent level and the formatted indent level :/ .
I think the issue could probably be solved by proper value formatting using malva maybe ?
This would be awesome:
we could detect invalid css directive at parsing time and raise errors
formatting would be consistant, using a single line when possible, or multiline (with configurable style maybe?)
Hi!
This mostly fix the issue I currently have with multiline
style
attribute getting weirdly indented.is changed to
Every time some kind of wrapping occurred, and the attr value is on multiple lines, the indent is not preserved.
I also tried to avoid disruption for another common style of multiline style attribute (Prettier for ex)
I'm marking this as draft because it's not actually addressing the problem, it's a workaround. I was not able to find the offset between the initial indent level and the formatted indent level :/ .
I think the issue could probably be solved by proper value formatting using malva maybe ? This would be awesome: