Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generated markdown is incompatible with commonmark / React-Markdown #89

Open
cryptoquick opened this issue Aug 12, 2016 · 2 comments
Open

Comments

@cryptoquick
Copy link

The following input here:

screenshot 2016-08-11 19 57 05

Generates:

asdf asdf**asdf**_**asdfasdf asdf **_**asdf **adsf

via toString('markdown')

If this is input here:

http://spec.commonmark.org/dingus/

Or, if input as a source into react-markdown, it generates this:

screenshot 2016-08-11 19 59 59

HTML is:
<p>asdf asdf<strong>asdf</strong><em>**asdfasdf asdf **</em>**asdf **adsf</p>

@sstur
Copy link
Owner

sstur commented Aug 21, 2016

I do believe this is a bug. It probably belongs on https://github.com/sstur/draft-js-export-markdown. I would be open to a pull request if you find a solution.

@seldomU
Copy link

seldomU commented Nov 4, 2019

What about this PR: sstur/draft-js-export-markdown#14
It looks like this would at least fix the whitespace related markdown problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants