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

adding \ before <tag> should render it as "<tag>" and not parse as html #884

Closed
ghost opened this issue Apr 9, 2017 · 0 comments
Closed

Comments

@ghost
Copy link

ghost commented Apr 9, 2017

source code
source code

how it should be
how it should be

how it is now
how it is now on blocks


what should be happening here is \ before any control-symbol turns it to a simple char, making < to an &#60;, and since tag> is not a valid html – parser should leave it as text like it is with other things, like \# H1

test:

regular H1

# escaped H1


in fact, github has escape for EVERY punctuation symbol as an option: https://github.github.com/gfm/#example-296


/rel showdown#374

This issue was closed.
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

0 participants