Code Duplication    Length = 3-3 lines in 2 locations

ecrire/inc/filtres.php 2 locations

@@ 1196-1198 (lines=3) @@
1193
	// Cas du turc
1194
	if ($GLOBALS['spip_lang'] == 'tr') {
1195
		# remplacer hors des tags et des entites
1196
		if (preg_match_all(',<[^<>]+>|&[^;]+;,S', $texte, $regs, PREG_SET_ORDER)) {
1197
			foreach ($regs as $n => $match) {
1198
				$texte = str_replace($match[0], "@@SPIP_TURC$n@@", $texte);
1199
			}
1200
		}
1201
@@ 1204-1206 (lines=3) @@
1201
1202
		$texte = str_replace('i', '&#304;', $texte);
1203
1204
		if ($regs) {
1205
			foreach ($regs as $n => $match) {
1206
				$texte = str_replace("@@SPIP_TURC$n@@", $match[0], $texte);
1207
			}
1208
		}
1209
	}