Skip to content

Commit

Permalink
Fixes #4708
Browse files Browse the repository at this point in the history
Fixes #4708
  • Loading branch information
Eldenroot authored and dvz committed May 28, 2023
1 parent d6a57e4 commit bc03b9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/class_parser.php
Original file line number Diff line number Diff line change
Expand Up @@ -1749,7 +1749,7 @@ function mycode_auto_url_callback($matches=array())
$last_char = my_substr($matches['link'], -1);
while($last_char == '.' || $last_char == ',' || $last_char == '?' || $last_char == '!')
{
$matches[4] = my_substr($matches['link'], 0, -1);
$matches['link'] = my_substr($matches['link'], 0, -1);
$external = $last_char.$external;
$last_char = my_substr($matches['link'], -1);
}
Expand Down

0 comments on commit bc03b9b

Please sign in to comment.