Skip to content

Commit

Permalink
remove substitutions
Browse files Browse the repository at this point in the history
  • Loading branch information
UziTech committed Aug 5, 2019
1 parent 79ad703 commit e1d90ad
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
4 changes: 1 addition & 3 deletions lib/marked.js
Expand Up @@ -169,9 +169,7 @@ Lexer.lex = function(src, options) {
Lexer.prototype.lex = function(src) {
src = src
.replace(/\r\n|\r/g, '\n')
.replace(/\t/g, ' ')
.replace(/\u00a0/g, ' ')
.replace(/\u2424/g, '\n');
.replace(/\t/g, ' ');

return this.token(src, true);
};
Expand Down
3 changes: 1 addition & 2 deletions test/specs/commonmark/commonmark.0.29.json
Expand Up @@ -2863,8 +2863,7 @@
"example": 353,
"start_line": 6322,
"end_line": 6326,
"section": "Emphasis and strong emphasis",
"shouldFail": true
"section": "Emphasis and strong emphasis"
},
{
"markdown": "foo*bar*\n",
Expand Down
3 changes: 1 addition & 2 deletions test/specs/gfm/commonmark.0.29.json
Expand Up @@ -2863,8 +2863,7 @@
"example": 353,
"start_line": 6322,
"end_line": 6326,
"section": "Emphasis and strong emphasis",
"shouldFail": true
"section": "Emphasis and strong emphasis"
},
{
"markdown": "foo*bar*\n",
Expand Down

0 comments on commit e1d90ad

Please sign in to comment.