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 Code.astro shiki css class replace logic #5829

Merged
merged 2 commits into from
Jan 11, 2023
Merged

Fix Code.astro shiki css class replace logic #5829

merged 2 commits into from
Jan 11, 2023

Commits on Jan 11, 2023

  1. Fix Code.astro shiki css class replace logic

    The replace uses a regex witch matches anything extra, and adds it back to the css class.
    
    Closes #5828
    giuseppelt committed Jan 11, 2023
    Configuration menu
    Copy the full SHA
    07eee72 View commit details
    Browse the repository at this point in the history
  2. Make regex non-greedy

    Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
    giuseppelt and bluwy committed Jan 11, 2023
    Configuration menu
    Copy the full SHA
    69b872c View commit details
    Browse the repository at this point in the history