Skip to content

Problem with class containing # #109

@maximepvrt

Description

@maximepvrt

Version

module: 3.6
nuxt: 4.1.2

Nuxt configuration

mode:

  • universal
  • spa

Nuxt configuration

Reproduction

⚠️ without a minimal reproduction we wont be able to look into your issue

When using a class with a hex color inside attribute syntax, parsing stops at #.

Example:

[test]{.bg-[#E74249] #ok}

Expected:

  • bg-[#E74249] as a class
  • ok as an ID

Actual:

  • The class is truncated at bg-[

What is expected?

What is actually happening?

Performance analysis?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions