|
@ -49,8 +49,8 @@ function ParserInline() { |
|
|
this._rules = []; |
|
|
this._rules = []; |
|
|
|
|
|
|
|
|
// Rule to skip pure text
|
|
|
// Rule to skip pure text
|
|
|
// - '{}$%@+=' reserved for extentions
|
|
|
// - '{}$%@+=:' reserved for extentions
|
|
|
this.textMatch = /^[^\n\\`*_\[\]!&<{}$%@~+=]+/; |
|
|
this.textMatch = /^[^\n\\`*_\[\]!&<{}$%@~+=:]+/; |
|
|
|
|
|
|
|
|
// By default CommonMark allows too much in links
|
|
|
// By default CommonMark allows too much in links
|
|
|
// If you need to restrict it - override this with your validator.
|
|
|
// If you need to restrict it - override this with your validator.
|
|
|