We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Information
Does the problem still occur in the latest version of Prism? Yes
Description I'm logging server response as JSON. The HTTP header Accept: */* triggers this problem.
Accept: */*
Code snippet
{ "A": "/*", "B": "B", "C": "C" }
The text was updated successfully, but these errors were encountered:
Redefining Prism.languages.json.comment solves my problem, but I'm still posting the issue to see if this was intended or not.
Prism.languages.json.comment
Sorry, something went wrong.
This is definitely a bug which is probably caused by #1492.
Redefining Prism.languages.json.comment solves my problem
What does 'redefining' mean? Do you change or delete comment?
comment
Yes, I changed comment as all of my code are standard json without comment.
json
Successfully merging a pull request may close this issue.
Information
Does the problem still occur in the latest version of Prism? Yes
Description
I'm logging server response as JSON. The HTTP header
Accept: */*
triggers this problem.Code snippet
The code being highlighted incorrectly.
The text was updated successfully, but these errors were encountered: