Skip to content

Expected ">" but found "set" in style tag #1045

@lumynou5

Description

@lumynou5

Astro Info

Astro                    v4.15.8
Node                     v20.14.0
System                   Linux (x64)
Package Manager          unknown
Output                   static
Adapter                  none
Integrations             none

If this issue only occurs in one browser, which browser is a problem?

No response

Describe the Bug

I didn't try to use JSX in Astro frontmatter, but still encounter this.

39 |  article[lang|="en"] {
40 |    font-family: "Noto Sans", sans-serif;
41 |  }

The stack trace shows it's at 39:571, which doesn't exist.

What's the expected result?

It should build without error.

Link to Minimal Reproducible Example

https://stackblitz.com/edit/github-t7eabk-cteppa?file=src%2Fcomponents%2FCard.astro

Participation

  • I am willing to submit a pull request for this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs triageIssue needs to be triaged

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions