Code Duplication    Length = 3-3 lines in 2 locations

ecrire/inc/filtres.php 2 locations

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