You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So I use this library in a vscode extension which formats HTML code inside PHP files. I found this just now when going to publish a new version.
This is going from 1.8.0-rc4 > 1.8.0-rc5 so it has to be something in there because I tested the same situation in both versions with no other changes.
If you lose the class attribute completely off the div tag then it's completely fine, but adding that attribute in that situation causes the duplication.
These are the exact settings I was currently testing at the time.
If you remove that the issue goes away. Note: "content_unformatted" is not needed for "?php" elements as they have no elements. That is true for most of those.
But this is definitely a bug and it is great to get the feedback. We'll fix this ASAP.
No, thank you for reporting the issue. It was important and I implemented a fix and released rc6 including a fix for this. Please report any issues, especially regressions you see in the future. 😄
So I use this library in a vscode extension which formats HTML code inside PHP files. I found this just now when going to publish a new version.
This is going from 1.8.0-rc4 > 1.8.0-rc5 so it has to be something in there because I tested the same situation in both versions with no other changes.
Node.js version
Input
Output
If you lose the class attribute completely off the div tag then it's completely fine, but adding that attribute in that situation causes the duplication.
These are the exact settings I was currently testing at the time.
The text was updated successfully, but these errors were encountered: