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

Expanding properties on some CRDs breaks page rendering with a "The language "undefined" has no grammar." error #182

Open
KingJ opened this issue Sep 26, 2024 · 0 comments

Comments

@KingJ
Copy link

KingJ commented Sep 26, 2024

On some CRDs, expanding any of the properties within the CRD's spec will cause the page to go blank other than the very top header;

image

When this happens, the following error is logged to the browser's console;

react-dom.production.min.js:125 Error: The language "undefined" has no grammar.
Please report this to https://github.com/markedjs/marked.
    at Object.highlight (prism-core.min.js:1:3872)
    at e.code ([email protected]:93:60)
    at e.code (marked.min.js:6:34023)
    at n.parse (marked.min.js:6:30323)
    at Function.parse (marked.min.js:6:29865)
    at se (marked.min.js:6:33474)
    at getDescription ([email protected]:111:35)
    at SchemaPart ([email protected]:209:118)
    at [email protected]:213:33
    at Array.map (<anonymous>)

I've been able to consistently trigger this with the kubernetes-sigs/[email protected] KubeadmControlPlane.v1beta1.controlplane.cluster.x-k8s.io CRD on Firefox 130.0.1, Chrome 129.0.6668.70, and Safari on macOS 14.6.1.

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

No branches or pull requests

1 participant