Skip to content

Commit

Permalink
Resolves #291 Fixes XF 2 links conversion. (#292)
Browse files Browse the repository at this point in the history
  • Loading branch information
yuliu authored Jan 30, 2022
1 parent b717360 commit a5883f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion boards/xenforo2/bbcode_parser.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ function convert_bbcode($text)
$convert_standards = array(
// xf 2.1, [URL unfurl="true"]...[/URL]
array(
'find' => "#\[url\s*(.*?)\](.*?)\[/url\]#i",
'find' => "#\[url\s+(.*?)\](.*?)\[/url\]#i",
'replacement' => "[url]$2[/url]",
),
);
Expand Down

0 comments on commit a5883f3

Please sign in to comment.