Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(css) line break disappearing #4131

Closed
wants to merge 3 commits into from

Conversation

somya-05
Copy link
Contributor

@somya-05 somya-05 commented Oct 7, 2024

Fixed the line break disappearing in case of CSS.

Resolves #4101

Changes

Before:
image

After:
image

Checklist

  • Added markup tests, or they don't apply here because...
  • Updated the changelog at CHANGES.md

illegal: '$',
illegal: /[$]/,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not equivalent and therefore not a correct fix. One matches end of line (which is what we want)... your new version matches the literal $ character...

This is actually a bug that must be fixed in the parser itself, not any particular grammar.

@somya-05 somya-05 closed this Oct 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

(css) Line breaks disappear
2 participants