pablo-abc / svelte-markdown

Markdown parser to svelte components
MIT License
360 stars 50 forks source link

Bug: Overriding console method throws breaking error on Firefox #64

Open dogagenc opened 1 year ago

dogagenc commented 1 year ago

The file called suppress-warnings can cause issues in Firefox applications. To address this problem, I have created a pull request that removes the file and its usage. Additionally, I believe that it's important to be able to see warnings generated by Svelte during development. By using suppress-warnings, other warnings from dynamically loaded components and other files/libraries may also be suppressed.

PR: https://github.com/pablo-abc/svelte-markdown/pull/63

dogagenc commented 1 year ago

In case you are visiting from the future and encounter a problem with your application or website on Firefox due to this library, I have uploaded an updated version on npm:

npm install @dogagenc/svelte-markdown or yarn add @dogagenc/svelte-markdown

edman commented 1 year ago

I had the same problem and can confirm you fork fixes it.

Thank you for publishing!