markdown-to-jsx icon indicating copy to clipboard operation
markdown-to-jsx copied to clipboard

I get this error n.trimEnd is not a function

Open clauderobi opened this issue 2 years ago • 1 comments

I get the error when react is rendering under both Chrome and Firefox.

The markdown is just 1 line of text, no actual markdown formatting.

I am using Webpack to load the .md using the raw-loader.

I am not sure where to start looking. Any pointers?

clauderobi avatar Aug 07 '23 16:08 clauderobi

Hmm, browser support for trimEnd is pretty good https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/trimEnd

quantizor avatar Mar 21 '24 04:03 quantizor