Dots in class selectors are missing from the output #14
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Results in the ClassSelector containing only the class name, but not the dot:
With an ID selector for comparison:
Again, the
ClassSelectornode covers the dot and the name. The name is covered by another inner node. The dot is not missing, it just doesn't get a dedicated node, since it is easy enough to find or style with the existing structure.This does make sense, but why does the ID selector get treated differently?
Indeed, that difference seems to be an accident. If it helps you, I can make
"."a stored token as well.This would make some things slightly less complicated on my side :) Thank you!
Done in attached patch.