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 handling of content-type in languages.http #3723

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ymzkei5
Copy link

@ymzkei5 ymzkei5 commented Sep 8, 2023

Hi!
Prism.languages.http performs additional coloring based on the type of response body (e.g., html).
This works for Content-Type: text/html in HTTP response header.
However, it does not work for Content-Type: text/html; charset=utf-8, etc.
To fix this, I have modified the pattern.

@github-actions
Copy link

github-actions bot commented Sep 8, 2023

No JS Changes

Generated by 🚫 dangerJS against bfbb060

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.

1 participant