Merge pull request #1532 from UziTech/remove-substitutions
remove substitutions
This commit is contained in:
commit
620a27d7d5
@ -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);
|
||||
};
|
||||
|
@ -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",
|
||||
|
@ -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",
|
||||
|
3
test/specs/new/substitutions.html
Normal file
3
test/specs/new/substitutions.html
Normal file
@ -0,0 +1,3 @@
|
||||
<p>foobar</p>
|
||||
|
||||
<p>* a *</p>
|
3
test/specs/new/substitutions.md
Normal file
3
test/specs/new/substitutions.md
Normal file
@ -0,0 +1,3 @@
|
||||
foobar
|
||||
|
||||
* a *
|
Loading…
x
Reference in New Issue
Block a user