Skip to content

Commit

Permalink
remove u00a0. fixes #52 and possibly #81.
Browse files Browse the repository at this point in the history
  • Loading branch information
chjj committed Jan 3, 2013
1 parent 8a7ecaf commit 42d8b24
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/marked.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
};
Expand Down

0 comments on commit 42d8b24

Please sign in to comment.