Code Duplication    Length = 3-3 lines in 2 locations

ecrire/inc/filtres.php 2 locations

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