Jeśli ktoś jest zainteresowany można to rozwiązać w ten sposób, plik: admin/sources/classes/bbcode/core.php
Linia ~1463
Zamień:
$txt = preg_replace_callback( "#(^|\s|>|\](?<!\[url\]))((http|https|news|ftp):)/\w+[^,\s\<\[]+)#is", array( $this, '_autoParseUrls' ), $txt );
Na:
$txt = preg_replace_callback( "#(^|\s|>|\](?<!\[url\]))((http|https|news|ftp):)/\w+[^\s\<\[]+)#is", array( $this, '_autoParseUrls' ), $txt );
Linia ~2253:
Zamień:
private function _autoParseUrls( $matches )
{
return $this->parseBbcode( $matches[1] . '[url]' . $matches[2] . '[/url]', 'display', 'url' );
}
Na:
private function _autoParseUrls( $matches )
{
if ($matches[2]{strlen($matches[2])-1} == ',') {
$matches[2] = substr($matches[2], 0, -1);
$d = ',';
} else $d = '';
return $this->parseBbcode( $matches[1] . '[url]' . $matches[2] . '[/url]'.$d, 'display', 'url' );
}
Rozwiązanie idealne nie jest, ale działa