- if (strpos($texte,"<")!==false // eviter les tests suivants si possible
- AND $ttrim = trim($texte)
- AND substr($ttrim,0,1)=="<"
- AND substr($ttrim,-1,1)==">"
- AND stripos($ttrim,"</html>")!==false){
-
- if(!strlen($sujet)){
+ if (strpos($texte, "<") !== false // eviter les tests suivants si possible
+ and $ttrim = trim($texte)
+ and substr($ttrim, 0, 1) == "<"
+ and substr($ttrim, -1, 1) == ">"
+ and stripos($ttrim, "</html>") !== false
+ ) {
+
+ if (!strlen($sujet)) {