Code Duplication    Length = 5-5 lines in 2 locations

app/Plugin/Markitup/Vendor/parser/markdown/markdown.php 2 locations

@@ 761-765 (lines=5) @@
758
			$url = $this->encodeAttribute($url);
759
760
			$result = "<a href=\"$url\"";
761
			if ( isset( $this->titles[$link_id] ) ) {
762
				$title = $this->titles[$link_id];
763
				$title = $this->encodeAttribute($title);
764
				$result .=  " title=\"$title\"";
765
			}
766
767
			$link_text = $this->runSpanGamut($link_text);
768
			$result .= ">$link_text</a>";
@@ 865-869 (lines=5) @@
862
		if (isset($this->urls[$link_id])) {
863
			$url = $this->encodeAttribute($this->urls[$link_id]);
864
			$result = "<img src=\"$url\" alt=\"$alt_text\"";
865
			if (isset($this->titles[$link_id])) {
866
				$title = $this->titles[$link_id];
867
				$title = $this->encodeAttribute($title);
868
				$result .=  " title=\"$title\"";
869
			}
870
			$result .= $this->empty_element_suffix;
871
			$result = $this->hashPart($result);
872
		}