add ability to escape |
This commit is contained in:
parent
ac99b517de
commit
fd9066c145
@ -348,7 +348,7 @@ block.token = function(src, tokens, top) {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
var inline = {
|
var inline = {
|
||||||
escape: /^\\([\\`*{}\[\]()#+\-.!_>])/,
|
escape: /^\\([\\`*{}\[\]()#+\-.!_>|])/,
|
||||||
autolink: /^<([^ >]+(@|:\/)[^ >]+)>/,
|
autolink: /^<([^ >]+(@|:\/)[^ >]+)>/,
|
||||||
url: noop,
|
url: noop,
|
||||||
tag: /^<!--[^\0]*?-->|^<\/?\w+(?:"[^"]*"|'[^']*'|[^'">])*?>/,
|
tag: /^<!--[^\0]*?-->|^<\/?\w+(?:"[^"]*"|'[^']*'|[^'">])*?>/,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user