-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
HTML code tag on the same line with starting code block breaks everything #229
Comments
Thanks @DoumanAsh You are correct, the bug is verified. (can see in demo page here) I will post a fix as soon as possible. |
Glad to hear. I'm planning to replace |
Please note that markdown code symbols are missing inside of html UPD: noticed that they are actually getting parsed inside html |
What do you mean? |
See this example Note that there are |
@DoumanAsh I thought that was precisely the issue you were talking about. |
Both are consequence of the same issue that is the fact that GitHub code blocks insede HTML Code blocks get parsed by markdown engine while they shouldn't. |
When using html pre/code tags to wrap github's fenced code block syntax, showdown would parsed them instead of treating them like plain code. Closes #229
Should be fixed now See demo |
Looks great! Thanks |
Should we close issue then? |
Since it is fixed on develop branch i'm closing issue. No sense in leaving it opened? |
Noticed strange behavior of parser while testing with this fixture
Try to parse text under Code and Syntax Highlighting section
http://i.imgur.com/7JWC4Cv.png
It happens when you have starting
<code>
and ``` on the same line.If you separate it by newline everything will be fine
I saved this bad section on my google drive also:
https://docs.google.com/document/d/1AU-BEsR4bUnSXFtkuJfCylOaBrLmadCk7tqEzAThfS4/edit?usp=sharing
The text was updated successfully, but these errors were encountered: