Skip to content

Commit

Permalink
fix multiline code expression
Browse files Browse the repository at this point in the history
  • Loading branch information
yggverse committed Jul 6, 2024
1 parent ca0ca7d commit e0b496a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Parser/Code.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public static function match(

// Multiline with optional alt support
case preg_match(
'/^(?<tag>[`]{3})(?<alt>[^`]+)$/m',
'/^(?<tag>[`]{3})(?<alt>[^`]*)$/m',
$line,
$matches
):
Expand Down

0 comments on commit e0b496a

Please sign in to comment.