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
|
@@ 766-768 (lines=3) @@
|
| 763 |
|
* @return mixed|string |
| 764 |
|
*/ |
| 765 |
|
function entites_html($texte, $tout = false, $quote = true) { |
| 766 |
|
if (!is_string($texte) or !$texte |
| 767 |
|
or strpbrk($texte, "&\"'<>") == false |
| 768 |
|
) { |
| 769 |
|
return $texte; |
| 770 |
|
} |
| 771 |
|
include_spip('inc/texte'); |