-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
Closed
Labels
bugAn error in the Docusaurus core causing instability or issues with its executionAn error in the Docusaurus core causing instability or issues with its executionexternalThis issue is caused by an external dependency and not Docusaurus.This issue is caused by an external dependency and not Docusaurus.
Description
🐛 Bug Report
Prerequisites
- I'm using the latest version of Docusaurus.
- I have tried the
npm run clearoryarn clearcommand. - I have tried
rm -rf node_modules yarn.lock package-lock.jsonand re-installing packages. - I have tried creating a repro with https://new.docusaurus.io
- I have read the console error message carefully (if applicable)
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.
- Create a SVG with special characters like < or >.
- Add it to any doc by inlining it (see this)
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
- Windows 10 Build 19042.1083
- Firefox 89.2.2
- NodeJs 7.3.0
Reproducible demo
Live Demo : [Deleted]
Repo : [Deleted]
intro.md file : [Deleted]
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugAn error in the Docusaurus core causing instability or issues with its executionAn error in the Docusaurus core causing instability or issues with its executionexternalThis issue is caused by an external dependency and not Docusaurus.This issue is caused by an external dependency and not Docusaurus.

