Code Duplication    Length = 3-3 lines in 2 locations

ecrire/inc/filtres.php 2 locations

@@ 1230-1232 (lines=3) @@
1227
	// Cas du turc
1228
	if ($GLOBALS['spip_lang'] == 'tr') {
1229
		# remplacer hors des tags et des entites
1230
		if (preg_match_all(',<[^<>]+>|&[^;]+;,S', $texte, $regs, PREG_SET_ORDER)) {
1231
			foreach ($regs as $n => $match) {
1232
				$texte = str_replace($match[0], "@@SPIP_TURC$n@@", $texte);
1233
			}
1234
		}
1235
@@ 1238-1240 (lines=3) @@
1235
1236
		$texte = str_replace('i', '&#304;', $texte);
1237
1238
		if ($regs) {
1239
			foreach ($regs as $n => $match) {
1240
				$texte = str_replace("@@SPIP_TURC$n@@", $match[0], $texte);
1241
			}
1242
		}
1243
	}