markdown-to-jsx
markdown-to-jsx copied to clipboard
I get this error n.trimEnd is not a function
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?
Hmm, browser support for trimEnd is pretty good https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/trimEnd