diff --git a/lib/marked.js b/lib/marked.js index a6108add56..ce20127bf6 100644 --- a/lib/marked.js +++ b/lib/marked.js @@ -119,7 +119,9 @@ Lexer.lex = function(src, options) { Lexer.prototype.lex = function(src) { src = src .replace(/\r\n|\r/g, '\n') - .replace(/\t/g, ' '); + .replace(/\t/g, ' ') + .replace(/\u00a0/g, ' ') + .replace(/\u2424/g, '\n'); return this.token(src, true); };