Code Duplication    Length = 3-3 lines in 2 locations

ecrire/inc/filtres.php 2 locations

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