Browse Source

Updated text match rule

pull/14/head
Vitaly Puzrin 10 years ago
parent
commit
1543a38cd7
  1. 4
      lib/lexer_inline.js

4
lib/lexer_inline.js

@ -48,7 +48,9 @@ function LexerInline() {
this.rules = [];
// Rule to skip pure text
this.textMatch = /^[^\n\\`*_\[!<&>"]+/;
// - '{$%@' reserved for extentions
// - '<>"' added for internal html escaping
this.textMatch = /^[^\n\\`*_\[!&{$%@<>"]+/;
for (var i = 0; i < rules.length; i++) {
this.after(null, rules[i]);

Loading…
Cancel
Save