Code Duplication    Length = 5-5 lines in 2 locations

system/vendor/Markdown.php 2 locations

@@ 756-760 (lines=5) @@
753
			$url = $this->encodeAttribute($url);
754
			
755
			$result = "<a href=\"$url\"";
756
			if ( isset( $this->titles[$link_id] ) ) {
757
				$title = $this->titles[$link_id];
758
				$title = $this->encodeAttribute($title);
759
				$result .=  " title=\"$title\"";
760
			}
761
		
762
			$link_text = $this->runSpanGamut($link_text);
763
			$result .= ">$link_text</a>";
@@ 860-864 (lines=5) @@
857
		if (isset($this->urls[$link_id])) {
858
			$url = $this->encodeAttribute($this->urls[$link_id]);
859
			$result = "<img src=\"$url\" alt=\"$alt_text\"";
860
			if (isset($this->titles[$link_id])) {
861
				$title = $this->titles[$link_id];
862
				$title = $this->encodeAttribute($title);
863
				$result .=  " title=\"$title\"";
864
			}
865
			$result .= $this->empty_element_suffix;
866
			$result = $this->hashPart($result);
867
		}