Code Duplication    Length = 2-2 lines in 2 locations

ecrire/public/assembler.php 2 locations

@@ 680-681 (lines=2) @@
677
			if (strpos($base,"'") or strpos($base,'"') or strpos($base,'<')) {
678
				$base = str_replace(array("'",'"','<'),array("%27",'%22','%3C'), $base);
679
			}
680
			if (strpos($texte, "href='#") !== false) {
681
				$texte = str_replace("href='#", "href='$base#", $texte);
682
			}
683
			if (strpos($texte, "href=\"#") !== false) {
684
				$texte = str_replace("href=\"#", "href=\"$base#", $texte);
@@ 683-684 (lines=2) @@
680
			if (strpos($texte, "href='#") !== false) {
681
				$texte = str_replace("href='#", "href='$base#", $texte);
682
			}
683
			if (strpos($texte, "href=\"#") !== false) {
684
				$texte = str_replace("href=\"#", "href=\"$base#", $texte);
685
			}
686
		}
687
	}