dépôts
/
ptitvelo
/
web
/
www.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[SPIP] ~v3.0.17-->v3.0.19
[ptitvelo/web/www.git]
/
www
/
ecrire
/
inc
/
texte_mini.php
diff --git
a/www/ecrire/inc/texte_mini.php
b/www/ecrire/inc/texte_mini.php
index
f3c2429
..
b0aab8a
100644
(file)
--- 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\"></$mode>";
}
$return .= "<$mode class=\"base64$source\" title=\"$base64\"></$mode>";
}
- return $return
- . ((!$no_transform AND $mode == 'div')
- ? "\n\n"
- : ''
- );
-;
+ return $return;
+
}
}
@@
-156,7
+152,7
@@
function traiter_echap_math_dist($regs) {
return $t;
}
return $t;
}
-define('_PROTEGE_BLOCS', ',<(html|code|cadre|frame|script
|math
)(\s[^>]*)?>(.*)</\1>,UimsS');
+define('_PROTEGE_BLOCS', ',<(html|code|cadre|frame|script)(\s[^>]*)?>(.*)</\1>,UimsS');
// - pour $source voir commentaire infra (echappe_retour)
// - pour $no_transform voir le filtre post_autobr dans inc/filtres
// - pour $source voir commentaire infra (echappe_retour)
// - pour $no_transform voir le filtre post_autobr dans inc/filtres