Code Duplication    Length = 2-2 lines in 2 locations

ecrire/public/assembler.php 2 locations

@@ 755-756 (lines=2) @@
752
			if (strpos($base,"'") or strpos($base,'"') or strpos($base,'<')) {
753
				$base = str_replace(array("'",'"','<'),array("%27",'%22','%3C'), $base);
754
			}
755
			if (strpos($texte, "href='#") !== false) {
756
				$texte = str_replace("href='#", "href='$base#", $texte);
757
			}
758
			if (strpos($texte, "href=\"#") !== false) {
759
				$texte = str_replace("href=\"#", "href=\"$base#", $texte);
@@ 758-759 (lines=2) @@
755
			if (strpos($texte, "href='#") !== false) {
756
				$texte = str_replace("href='#", "href='$base#", $texte);
757
			}
758
			if (strpos($texte, "href=\"#") !== false) {
759
				$texte = str_replace("href=\"#", "href=\"$base#", $texte);
760
			}
761
		}
762
	}