Merge pull request #1532 from UziTech/remove-substitutions

remove substitutions
This commit is contained in:
Josh Bruce 2019-08-05 15:43:05 -07:00 committed by GitHub
commit 620a27d7d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 9 additions and 7 deletions

View File

@ -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);
};

View File

@ -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",

View File

@ -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",

View File

@ -0,0 +1,3 @@
<p>foo␤␤bar</p>
<p>* a *</p>

View File

@ -0,0 +1,3 @@
foo␤␤bar
* a *