Code Duplication    Length = 2-2 lines in 2 locations

vendors/markdown/markdown.php 2 locations

@@ 946-947 (lines=2) @@
943
	}
944
	function _doHeaders_callback_setext($matches) {
945
		# Terrible hack to check we haven't found an empty list item.
946
		if ($matches[2] == '-' && preg_match('{^-(?: |$)}', $matches[1]))
947
			return $matches[0];
948
		
949
		$level = $matches[2]{0} == '=' ? 1 : 2;
950
		$block = "<h$level>".$this->runSpanGamut($matches[1])."</h$level>";
@@ 2649-2650 (lines=2) @@
2646
		return $text;
2647
	}
2648
	function _doHeaders_callback_setext($matches) {
2649
		if ($matches[3] == '-' && preg_match('{^- }', $matches[1]))
2650
			return $matches[0];
2651
		$level = $matches[3]{0} == '=' ? 1 : 2;
2652
		$attr  = $this->doExtraAttributes("h$level", $dummy =& $matches[2]);
2653
		$block = "<h$level$attr>".$this->runSpanGamut($matches[1])."</h$level>";