/admin/sources/classes/bbcode/custom/defaults.php
Было так:
/* Changes here @link https://community.invisionpower.com/tracker/issue-36082-long-links-on-mobile-extend-width/ */
if( ( empty( $this->settings['__noTruncateUrl'] ) ) AND IPSText::mbstrlen($content) > 38 AND ( substr( $content, 0, 7) == 'https://' OR substr( $content, 0, 8 ) == 'https://' ) )
{
$content = htmlspecialchars( IPSText::mbsubstr( $this->utf8_urldecode( $content ) , 0, 20 ) ) . '...' . htmlspecialchars( IPSText::mbsubstr($this->utf8_urldecode( $content ) , -15 ) );
//$content = htmlspecialchars( IPSText::mbsubstr( html_entity_decode( urldecode( $content ) ), 0, 20 ) ) . '...' . htmlspecialchars( IPSText::mbsubstr( html_entity_decode( urldecode( $content ) ), -15 ) );
}
Сделал так:
/* Changes here @link https://community.invisionpower.com/tracker/issue-36082-long-links-on-mobile-extend-width/ */
//if( ( empty( $this->settings['__noTruncateUrl'] ) ) AND IPSText::mbstrlen($content) > 38 AND ( substr( $content, 0, 7) == 'https://' OR substr( $content, 0, 8 ) == 'https://' ) )
//{
//$content = htmlspecialchars( IPSText::mbsubstr( $this->utf8_urldecode( $content ) , 0, 20 ) ) . '...' . htmlspecialchars( IPSText::mbsubstr($this->utf8_urldecode( $content ) , -15 ) );
//$content = htmlspecialchars( IPSText::mbsubstr( html_entity_decode( urldecode( $content ) ), 0, 20 ) ) . '...' . htmlspecialchars( IPSText::mbsubstr( html_entity_decode( urldecode( $content ) ), -15 ) );
//}
Не помогло, вернул как было. Глубже вникать нет возможности. Если подскажете рецепт, сделаю.