Code Duplication    Length = 2-2 lines in 2 locations

ecrire/public/assembler.php 2 locations

@@ 729-730 (lines=2) @@
726
			if (strpos($base,"'") or strpos($base,'"') or strpos($base,'<')) {
727
				$base = str_replace(array("'",'"','<'),array("%27",'%22','%3C'), $base);
728
			}
729
			if (strpos($texte, "href='#") !== false) {
730
				$texte = str_replace("href='#", "href='$base#", $texte);
731
			}
732
			if (strpos($texte, "href=\"#") !== false) {
733
				$texte = str_replace("href=\"#", "href=\"$base#", $texte);
@@ 732-733 (lines=2) @@
729
			if (strpos($texte, "href='#") !== false) {
730
				$texte = str_replace("href='#", "href='$base#", $texte);
731
			}
732
			if (strpos($texte, "href=\"#") !== false) {
733
				$texte = str_replace("href=\"#", "href=\"$base#", $texte);
734
			}
735
		}
736
	}