-
-
Notifications
You must be signed in to change notification settings - Fork 8k
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
Html Entities inside inline SVG do not render correctly #5144
Comments
Fix for this bug here -> gregberge/svgr#553, so we will wait for merge that. |
Should be fixed |
Actually, this is not fixed. However, a new major version (in alpha stage) of svgr/webpack has been released which fixes this issue. Therefore, @blemelin you can upgrade your local dependency "@svgr/webpack" to "v6.0.0-alpha.0" to resolve the bug. We on our part, will wait for more stable version. |
In that case let's reopen & wait for the version bump on our side🤷♂️ |
Resolved in #5958. However since @svgr/webpack dependency is explicitly listed in the package.json when initializing of Docusaurus site, this library must be manually updated to "^6.0.0". |
I guess it's actually fine, because in our core we prioritize |
🐛 Bug Report
Prerequisites
npm run clear
oryarn clear
command.rm -rf node_modules yarn.lock package-lock.json
and re-installing packages.Description
Html entities inside inline svg does not render correctly. They seems to be escaped twice.
Have you read the Contributing Guidelines on issues?
Yes
Steps to reproduce
Here are the steps to reproduce the issue.
Expected behavior
Actual behavior
For your information, I can use the
<img>
tag and it works just fine, but I need the text to be selectable (yeah...that's a weird requirement...I know....).Your environment
Reproducible demo
Live Demo : [Deleted]
Repo : [Deleted]
intro.md
file : [Deleted]The text was updated successfully, but these errors were encountered: