Showing
1 changed file
with
1 additions
and
1 deletions
@@ -599,7 +599,7 @@ class ItalicMd extends InlineMd { | @@ -599,7 +599,7 @@ class ItalicMd extends InlineMd { | ||
599 | /// Link text component | 599 | /// Link text component |
600 | class ATagMd extends InlineMd { | 600 | class ATagMd extends InlineMd { |
601 | @override | 601 | @override |
602 | - RegExp get exp => RegExp(r"\[([^\s\*][^\n]*[^\s]?)?\]\(([^\s\*]+)?\)"); | 602 | + RegExp get exp => RegExp(r"\[([^\s\*][^\n]*?[^\s]?)?\]\(([^\s\*]+)?\)"); |
603 | 603 | ||
604 | @override | 604 | @override |
605 | InlineSpan span( | 605 | InlineSpan span( |
-
Please register or login to post a comment