backmarket-oss / github-mermaid-extension

A browser extension for Chrome, Opera & Firefox that adds Mermaid language support to Github
MIT License
237 stars 65 forks source link

Font issue on Firefox #14

Open claweyenuk opened 5 years ago

claweyenuk commented 5 years ago

Firefox shows the following error:

Content Security Policy: The page’s settings blocked the loading of a resource at data:application/font-woff2;charset=utf-… (“font-src”).

And the fonts don't load. The font could be "Open Sans" (instead of "Open-Sans") and it would pick up the Open Sans font that can be installed (from google's github: https://github.com/google/fonts/tree/master/apache/opensans)