Malformed output when using before:content-['\201C']
#13718
Labels
needs triage
Issue needs to be triaged
8000
before:content-['\201C']
#13718
Astro Info
If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
I use Tailwind with Astro. Installed everything according to the documentation last week while following a tutorial and trying to apply that to Astro.
There's a proof of concept of the bug here.
It appears that the moment I introduce
before:content-['\201C']
as a class to the paragraph of the quote component that the HTML output is malformed. I would expect to see in the browser:But what I see instead is:
If I remove
before:content-['\201C']
as a class then I get the expected result in the browser.The issue appears to be in the use of
\
. See also the Stackblitz.What's the expected result?
To not have malformed HTML.
Link to Minimal Reproducible Example
https://stackblitz.com/edit/github-5qxgfgje
Participation
The text was updated successfully, but these errors were encountered: