Code Duplication    Length = 7-8 lines in 2 locations

components/Markdown.php 2 locations

@@ 1781-1788 (lines=8) @@
1778
		 *
1779
		 * @return string
1780
		 */
1781
		public function _doAutoLinks_tel_callback( $matches ) {
1782
1783
			$url  = $this->encodeAttribute( $matches[1] );
1784
			$tel  = $this->encodeAttribute( $matches[2] );
1785
			$link = "<a href=\"$url\">$tel</a>";
1786
1787
			return $this->hashPart( $link );
1788
		}
1789
1790
		/**
1791
		 * @param $matches
@@ 1795-1801 (lines=7) @@
1792
		 *
1793
		 * @return string
1794
		 */
1795
		public function _doAutoLinks_url_callback( $matches ) {
1796
1797
			$url  = $this->encodeAttribute( $matches[1] );
1798
			$link = "<a href=\"$url\">$url</a>";
1799
1800
			return $this->hashPart( $link );
1801
		}
1802
1803
		/**
1804
		 * @param $matches