Closed igorlesnenko closed 6 years ago
Thanks! I'll try to get to this but adding help wanted tag in case someone else is interested in fixing before I do :)
I've merged a fix for this, will get out a release shortly!
@Rosey I see the issue still exists in 1.1.1
@Rosey
If the line starts from the #hashtag
it got escaped - which is incorrect.
If word #hashtag
it is working fine - no escape.
argh, just looking
Ugh, >Test
<-- this needs to be escaped, #Test
<- this does not. Thank you markdown.
#hashtag
is not considered as heading in markdown, as there is no space after#
. We should not escape it like this:\#hashtag
, when converting from DraftJS to markdown.https://spec.commonmark.org/0.28/#example-34