Browse Source

Updated list of text terminator chars

pull/14/head
Vitaly Puzrin 10 years ago
parent
commit
2429443201
  1. 1
      CHANGELOG.md
  2. 4
      lib/parser_inline.js

1
CHANGELOG.md

@ -5,6 +5,7 @@
- Added `<mark>` rule.
- Added presets support (default, commonmark, full).
- Exposed `.configure()` method to load rules & options config with one command.
- Moved html escaping to renderer.
1.1.2 / 2014-10-23

4
lib/parser_inline.js

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

Loading…
Cancel
Save