Code Duplication    Length = 3-3 lines in 2 locations

ecrire/inc/filtres.php 2 locations

@@ 1247-1249 (lines=3) @@
1244
	// Cas du turc
1245
	if ($GLOBALS['spip_lang'] == 'tr') {
1246
		# remplacer hors des tags et des entites
1247
		if (preg_match_all(',<[^<>]+>|&[^;]+;,S', $texte, $regs, PREG_SET_ORDER)) {
1248
			foreach ($regs as $n => $match) {
1249
				$texte = str_replace($match[0], "@@SPIP_TURC$n@@", $texte);
1250
			}
1251
		}
1252
@@ 1255-1257 (lines=3) @@
1252
1253
		$texte = str_replace('i', '&#304;', $texte);
1254
1255
		if ($regs) {
1256
			foreach ($regs as $n => $match) {
1257
				$texte = str_replace("@@SPIP_TURC$n@@", $match[0], $texte);
1258
			}
1259
		}
1260
	}