prism-react-renderer icon indicating copy to clipboard operation
prism-react-renderer copied to clipboard

Fix ERB template highlighting

Open jonatanklosko opened this issue 5 months ago • 1 comments

Currently ERB (Ruby templates) are highlighted wrongly as if they where entirely Ruby. This bug probably applies to other mixed grammars.

This was an issue in the past and was fixed in #105, but during subsequent refactoring a regression was introduced.

jonatanklosko avatar Aug 14 '25 14:08 jonatanklosko

⚠️ No Changeset found

Latest commit: b5bcc6b3dc3c8960871c3ad79081e1ac601b0c7a

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

changeset-bot[bot] avatar Aug 14 '25 14:08 changeset-bot[bot]