You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Html Entities inside inline SVG do not render correctly #5144
bugAn error in the Docusaurus core causing instability or issues with its executionexternalThis issue is caused by an external dependency and not Docusaurus.
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....).
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.
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".
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 node_modules of the core itself to the site's node_modules so that the deps is always the version required by the core
bugAn error in the Docusaurus core causing instability or issues with its executionexternalThis issue is caused by an external dependency and not Docusaurus.
Activity
lex111 commentedon Jul 12, 2021
Fix for this bug here -> gregberge/svgr#553, so we will wait for merge that.
Josh-Cena commentedon Oct 30, 2021
Should be fixed
lex111 commentedon Oct 30, 2021
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.
Josh-Cena commentedon Oct 30, 2021
In that case let's reopen & wait for the version bump on our side🤷♂️
lex111 commentedon Dec 4, 2021
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".
Josh-Cena commentedon Dec 4, 2021
I guess it's actually fine, because in our core we prioritize
node_modulesof the core itself to the site'snode_modulesso that the deps is always the version required by the core