2018-04-08, 03:35 AM
I mentioned this problem in a comment on GitHub pull request #2968, but here's a proper bug report.
This:
http://example1.com/ http://example2.com/ http://example3.com/
is the result of the MyCode:
We would expect the URL for example2 to have been converted into a link, but it hasn't been (at least, not on the forum software as it is at time of posting).
This can be fixed by replacing each of the occurrences of
in each of the regexes in mycode_auto_url() in inc/class_parser.php with:
This:
http://example1.com/ http://example2.com/ http://example3.com/
is the result of the MyCode:
[url]http://example1.com/[/url] http://example2.com/ [url]http://example3.com/[/url]
We would expect the URL for example2 to have been converted into a link, but it hasn't been (at least, not on the forum software as it is at time of posting).
This can be fixed by replacing each of the occurrences of
.*
in each of the regexes in mycode_auto_url() in inc/class_parser.php with:
[^\]]*