X-Git-Url: http://git.cyclocoop.org/?p=lhc%2Fweb%2Fclavette_www.git;a=blobdiff_plain;f=www%2Fecrire%2Finc%2Ftexte_mini.php;fp=www%2Fecrire%2Finc%2Ftexte_mini.php;h=b0aab8a33ab9d19f54755b577e08f4009fd63f67;hp=f3c2429dc1336e56a3a0db7a9d92a4382bd2aa4f;hb=83e62ea97fafb78dde1372b78c1be4c71b5b1b58;hpb=be2c315934c5993ef2c5b9481e99e8de5d967da2 diff --git a/www/ecrire/inc/texte_mini.php b/www/ecrire/inc/texte_mini.php index f3c2429..b0aab8a 100644 --- a/www/ecrire/inc/texte_mini.php +++ b/www/ecrire/inc/texte_mini.php @@ -75,12 +75,8 @@ function code_echappement($rempl, $source='', $no_transform=false, $mode=NULL) { $return .= "<$mode class=\"base64$source\" title=\"$base64\">"; } - return $return - . ((!$no_transform AND $mode == 'div') - ? "\n\n" - : '' - ); -; + return $return; + } @@ -156,7 +152,7 @@ function traiter_echap_math_dist($regs) { return $t; } -define('_PROTEGE_BLOCS', ',<(html|code|cadre|frame|script|math)(\s[^>]*)?>(.*),UimsS'); +define('_PROTEGE_BLOCS', ',<(html|code|cadre|frame|script)(\s[^>]*)?>(.*),UimsS'); // - pour $source voir commentaire infra (echappe_retour) // - pour $no_transform voir le filtre post_autobr dans inc/filtres