dépôts
/
lhc
/
web
/
www.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[SPIP] ~maj 3.0.10 --> 3.0.14
[lhc/web/www.git]
/
www
/
ecrire
/
inc
/
texte.php
diff --git
a/www/ecrire/inc/texte.php
b/www/ecrire/inc/texte.php
index
a6168ad
..
af706b3
100644
(file)
--- a/
www/ecrire/inc/texte.php
+++ b/
www/ecrire/inc/texte.php
@@
-3,7
+3,7
@@
/***************************************************************************\
* SPIP, Systeme de publication pour l'internet *
* *
/***************************************************************************\
* SPIP, Systeme de publication pour l'internet *
* *
- * Copyright (c) 2001-201
2
*
+ * Copyright (c) 2001-201
4
*
* Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James *
* *
* Ce programme est un logiciel libre distribue sous licence GNU/GPL. *
* Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James *
* *
* Ce programme est un logiciel libre distribue sous licence GNU/GPL. *
@@
-69,7
+69,7
@@
function echappe_js($t,$class=' class="echappe-js"') {
if (preg_match_all(',<script.*?($|</script.),isS', $t, $r, PREG_SET_ORDER))
foreach ($r as $regs)
$t = str_replace($regs[0],
if (preg_match_all(',<script.*?($|</script.),isS', $t, $r, PREG_SET_ORDER))
foreach ($r as $regs)
$t = str_replace($regs[0],
- "<code$class>".nl2br(htmlspecialchars($regs[0])).'</code>',
+ "<code$class>".nl2br(
spip_
htmlspecialchars($regs[0])).'</code>',
$t);
return $t;
}
$t);
return $t;
}