diff options
Diffstat (limited to 'js/lib')
-rw-r--r-- | js/lib/inlines.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/js/lib/inlines.js b/js/lib/inlines.js index ff3ffde..553be53 100644 --- a/js/lib/inlines.js +++ b/js/lib/inlines.js @@ -71,7 +71,7 @@ var reEntity = new RegExp(ENTITY, 'gi'); // Matches a character with a special meaning in markdown, // or a string of non-special characters. Note: we match // clumps of _ or * or `, because they need to be handled in groups. -var reMain = /^(?:[_*`\n]+|[\[\]\\!<&*_]|[^\n`\[\]\\!<&*_]+)/m; +var reMain = /^[^\n`\[\]\\!<&*_]+/m; // Replace entities and backslash escapes with literal characters. var unescapeString = function(s) { @@ -760,7 +760,6 @@ var parseInline = function(block) { var res; switch(c) { case C_NEWLINE: - case C_SPACE: res = this.parseNewline(block); break; case C_BACKSLASH: |