make > escapable. closes #13.

This commit is contained in:
Christopher Jeffrey 2012-01-09 11:58:03 -06:00
parent a731a41f44
commit c201cb9720

View File

@ -282,7 +282,7 @@ block.token = function(str, tokens, top) {
*/ */
var inline = { var inline = {
escape: /^\\([\\`*{}\[\]()#+\-.!_])/, escape: /^\\([\\`*{}\[\]()#+\-.!_>])/,
autolink: /^<([^ >]+(@|:\/)[^ >]+)>/, autolink: /^<([^ >]+(@|:\/)[^ >]+)>/,
gfm_autolink: /^(\w+:\/\/[^\s]+[^.,:;"')\]\s])/, gfm_autolink: /^(\w+:\/\/[^\s]+[^.,:;"')\]\s])/,
tag: /^<!--[^\0]*?-->|^<\/?\w+[^>]*>/, tag: /^<!--[^\0]*?-->|^<\/?\w+[^>]*>/,