ecrire/xml/sax.php 1 location
|
@@ 27-29 (lines=3) @@
|
| 24 |
|
* @return string |
| 25 |
|
*/ |
| 26 |
|
function xml_entites_html($texte) { |
| 27 |
|
if (!is_string($texte) or !$texte |
| 28 |
|
or strpbrk($texte, "&\"'<>") == false |
| 29 |
|
) { |
| 30 |
|
return $texte; |
| 31 |
|
} |
| 32 |
|
|
ecrire/inc/filtres.php 1 location
|
@@ 802-804 (lines=3) @@
|
| 799 |
|
* @return mixed|string |
| 800 |
|
*/ |
| 801 |
|
function entites_html($texte, $tout = false, $quote = true) { |
| 802 |
|
if (!is_string($texte) or !$texte |
| 803 |
|
or strpbrk($texte, "&\"'<>") == false |
| 804 |
|
) { |
| 805 |
|
return $texte; |
| 806 |
|
} |
| 807 |
|
include_spip('inc/texte'); |