Closed
Description
Hello!
While using your plugin, I noticed the following:
If attach a comment to a rule, regardless of whether it is embedded in another one or not, it will be displayed correctly.
(note that the preserveEmpty
parameter is true
)
Example
p {
a {
/* Text */
}
}
/* to */
p {}
p a {
/* Text */
}
However, if a comment is nested in a rule that has a different rule inside, it will not be nested:
Example
p {
/* P Text */
a {
/* Text */
}
}
/* to */
p {}
/* P Text */
p a {
/* Text */
}
But it was expected:
p {
/* P Text */
}
p a {
/* Text */
}
Metadata
Metadata
Assignees
Labels
No labels