mirror of
https://github.com/explosion/spaCy.git
synced 2025-03-04 11:25:51 +03:00
This is a really odd bug, where Firefox doesn't re-render the `code` element, even though `children` changed. Two things fixed that: - remove the `language-ini` `className` - replace the `code` block with a `div` Both are not ideal. Therefor this solution adds an inner `div` that now has the classes while still maintaining the semantic `code` element. I couldn't find any explanation for why this is happening and why it only happens in Firefox. I assume it is a bug caused by one of our many dependencies (or their interplay) To make matters worse: This bug *doesn't* occure when running the site in dev mode. You have to build and serve the site to recreate it. |
||
---|---|---|
.. | ||
components | ||
fonts | ||
images | ||
styles | ||
templates | ||
widgets | ||
remark.js |