Skip to content

Conversation

caogecym
Copy link

No description provided.

@ashb
Copy link
Collaborator

ashb commented Jan 19, 2015

I wasn't aware that '/' needs to be escaped. How to other parsers handle this?

If other parsers behave like this can you add a test case for this? Should be quite easy to expand this

test( "inline_escape", function(t, md) {
t.equivalent( md.processInline("\\bar"), [ "\\bar" ], "invalid escape" );
t.equivalent( md.processInline("\\>"), [ ">" ], "escapes >" );
t.equivalent( md.processInline("\\*foo*"), [ "*foo*" ], "escaped em" );
});

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

Successfully merging this pull request may close these issues.

2 participants