-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
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
[docs-infra] Fix v4 docs <b> appearing in notifications #41390
Conversation
Netlify deploy previewhttps://deploy-preview-41390--material-ui.netlify.app/ Bundle size report |
Also, I can't access the labels on this PR, someone please add the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Always nice to stop using this kind of API when we can 🤩
This should be fixed now (see #41392). I rerun the CI Seems that we did not used links in those title since 2 years 👍 |
Looks like the
dangerouslySetInnerHTML
usage isn't necessary anymore now that the<b>
tags wrap the entire title on all of the visible notifications. I'm assuming that removing the<b>
from each title and instead wrapping the title in<b>
tags in the JSX here will get rid of the<b>
tags showing up in the v4 docs, as it looks like they are using the samenotifications.json
file to render the text for their notifications. If my assumption is incorrect, feel free to ignore my PR.v5 docs
v4 docs