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

The double underscores at the beginning of the word break the html layout #583

Closed
tavriaforever opened this issue Apr 22, 2015 · 2 comments

Comments

@tavriaforever
Copy link

Hello!
My case: markdown + html parts

__word <div>Some html text <a href="#">Some html link</a> or block</div> __elem

output:

<p><strong>word <div>Some html text <a href="#">Some html link</a> or block</div> </strong>elem</p>

Result: Parser replaced __ to <strong> and didn't pay attention to what it has inside html pieces and it's not just one text.
Probably I would agree that this is the correct behavior of marked module, if I am not checked this case on Github, where everything is displayed correctly

Thank you for your attention 😏

@formulahendry
Copy link

I have a code fix here. Hope the pull request could be merged. Unfortunately, this repo has not been updated for over 3 months :(

@tavriaforever
Copy link
Author

Thank you very much! It fixed our case.

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

No branches or pull requests

2 participants