AndyB
Well-known member
XenForo has always used a single quote in HTML links.
Example:
The inconsistency comes with the newly introduced feature called "Convert URLs to Page Titles". This feature creates HTML links using double quotes:
Please change the following XenForo code:
XenForo/BbCode/Formatter/BbCode/Autolink.php
Line# 261 and 282
change to:
Thank you.
Example:
Code:
[URL='https://www.google.com/']Google[/URL]
The inconsistency comes with the newly introduced feature called "Convert URLs to Page Titles". This feature creates HTML links using double quotes:
Code:
[URL="https://www.google.com/"]Google[/URL]
Please change the following XenForo code:
XenForo/BbCode/Formatter/BbCode/Autolink.php
Line# 261 and 282
PHP:
$tag = '[URL="' . $link['url'] . '"]' . $linkTitle . '[/URL]';
change to:
PHP:
$tag = "[URL='" . $link['url'] . "']" . $linkTitle . "[/URL]";
Thank you.