Skip to content

css class names with periods don't work #168

Closed

Description

@tig

Consider

<span class="token property">property</span>

This CSS should work, but doesn't:

     .token.property {
    	color: #c92c2c;
    }

But this does

     .property {
    	color: #c92c2c;
    }

Activity

  1. eXpl0it3r commented on Nov 23, 2026

    @eXpl0it3r
    Collaborator

    Fixed with #244, compound class selectors like .token.property match now. Closing this, but feel free to reopen with a repro if it still happens with 2.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions