1
After applying this RC (2.2.5 to 2.2.6rc) language constants with html get displayed unformatted when using 'insertBreak' form. The language constants:
define( "_AM_XTUBE_VIDEO_DLURL_NOTE1", "(video id-code = http://www.youtube.com/watch?v=IsOtq-qCqZ4)" );
define( "_AM_XTUBE_VIDEO_DLURL_NOTE2", "(video id-code = http://www.metacafe.com/watch/191543/sperm_whale_encounters_underwater_robot/)" );
define( "_AM_XTUBE_VIDEO_DLURL_NOTE3", "(video id-code = http://www.ifilm.com/video/2718605)" );
define( "_AM_XTUBE_VIDEO_DLURL_NOTE4", "(video id-code = http://i39.photobucket.com/albums/e168/vailtom/th_BigSquid.jpg)" );
PHP-code:
$sform -> addElement( new XoopsFormText( _AM_XTUBE_VIDEO_DLURL, 'url', 70, 512, $url ), true);
$note = _AM_XTUBE_VIDEO_DLURL_NOTE1 . "
" . _AM_XTUBE_VIDEO_DLURL_NOTE2 . "
" . _AM_XTUBE_VIDEO_DLURL_NOTE3 . "
" . _AM_XTUBE_VIDEO_DLURL_NOTE4;
$sform -> insertBreak( sprintf( $note ), "even");
Will submit this as a bug at SourceForge.