File tree 3 files changed +4
-6
lines changed
3 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -338,9 +338,9 @@ const tag = edit(
338
338
339
339
const _inlineLabel = / (?: \[ (?: \\ .| [ ^ \[ \] \\ ] ) * \] | \\ .| ` [ ^ ` ] * ` | [ ^ \[ \] \\ ` ] ) * ?/ ;
340
340
341
- const link = edit ( / ^ ! ? \[ ( l a b e l ) \] \( \s * ( h r e f ) (?: \s + ( t i t l e ) ) ? \s * \) / )
341
+ const link = edit ( / ^ ! ? \[ ( l a b e l ) \] \( \s * ( h r e f ) (?: (?: [ \t ] * (?: \n [ \t ] * ) ? ) ( t i t l e ) ) ? \s * \) / )
342
342
. replace ( 'label' , _inlineLabel )
343
- . replace ( 'href' , / < (?: \\ .| [ ^ \n < > \\ ] ) + > | [ ^ \s \x00 - \x1f ] * / )
343
+ . replace ( 'href' , / < (?: \\ .| [ ^ \n < > \\ ] ) + > | [ ^ \t \n \x00 - \x1f ] * / )
344
344
. replace ( 'title' , / " (?: \\ " ? | [ ^ " \\ ] ) * " | ' (?: \\ ' ? | [ ^ ' \\ ] ) * ' | \( (?: \\ \) ? | [ ^ ) \\ ] ) * \) / )
345
345
. getRegex ( ) ;
346
346
Original file line number Diff line number Diff line change 4056
4056
"example" : 507 ,
4057
4057
"start_line" : 7776 ,
4058
4058
"end_line" : 7780 ,
4059
- "section" : " Links" ,
4060
- "shouldFail" : true
4059
+ "section" : " Links"
4061
4060
},
4062
4061
{
4063
4062
"markdown" : " [link](/url \" title \" and\" title\" )\n " ,
Original file line number Diff line number Diff line change 4056
4056
"example" : 507 ,
4057
4057
"start_line" : 7776 ,
4058
4058
"end_line" : 7780 ,
4059
- "section" : " Links" ,
4060
- "shouldFail" : true
4059
+ "section" : " Links"
4061
4060
},
4062
4061
{
4063
4062
"markdown" : " [link](/url \" title \" and\" title\" )\n " ,
You can’t perform that action at this time.
0 commit comments