Simon Sturmer
Simon Sturmer
Just have a look at the CI error and then feel free to merge this.
Oops, it turns out that [expect v1.x](https://github.com/mjackson/expect) was a totally different package back in 2016. Then this [package name got donated to Jest](https://github.com/facebook/jest/issues/1679) which has taken over it since v21....
Right, but that would effectively be the same thing (`expect` that you linked to in `package.json` is exactly the one that's packaged within Jest). So we'd still need to run...
Hey @stinoga, thanks for your contribution! Can you add a test case to this file, so I can better understand what issue this solves? https://github.com/sstur/draft-js-utils/blob/master/packages/draft-js-import-markdown/src/__tests__/stateFromMarkdown-test.js Ideally some piece of markdown...
Ahh, now I remember! That's why I copied the code into this repo. Hmm, I'd really hate to parse Markdown -> AST and then to HTML and then parse it...
So looking at the source code now, the idea of string concatenation is quite deeply baked into the parser. It could be turned into a more modular approach, but we'd...
I think we probably want [this parser](https://github.com/remarkjs/remark/tree/master/packages/remark-parse), which is part of the [remark](https://remark.js.org/) library and is used in [Gatsby](https://www.gatsbyjs.org/) and others.
This is a known issue. I do believe this has been an issue since the logic was first written 4-5 years ago. Specifically the behavior is this: Any content that...
Can you show us a repro case for this issue?
Got it. This does seem to be a bug. Will investigate.