Code Duplication    Length = 3-3 lines in 2 locations

ecrire/inc/filtres.php 2 locations

@@ 1128-1130 (lines=3) @@
1125
	// Cas du turc
1126
	if ($GLOBALS['spip_lang'] == 'tr') {
1127
		# remplacer hors des tags et des entites
1128
		if (preg_match_all(',<[^<>]+>|&[^;]+;,S', $texte, $regs, PREG_SET_ORDER)) {
1129
			foreach ($regs as $n => $match) {
1130
				$texte = str_replace($match[0], "@@SPIP_TURC$n@@", $texte);
1131
			}
1132
		}
1133
@@ 1136-1138 (lines=3) @@
1133
1134
		$texte = str_replace('i', '&#304;', $texte);
1135
1136
		if ($regs) {
1137
			foreach ($regs as $n => $match) {
1138
				$texte = str_replace("@@SPIP_TURC$n@@", $match[0], $texte);
1139
			}
1140
		}
1141
	}