Code Duplication    Length = 2-2 lines in 2 locations

vendor/anax/mvc/3pp/php-markdown/Michelf/Markdown.php 2 locations

@@ 769-770 (lines=2) @@
766
	}
767
	protected function _doHeaders_callback_setext($matches) {
768
		# Terrible hack to check we haven't found an empty list item.
769
		if ($matches[2] == '-' && preg_match('{^-(?: |$)}', $matches[1]))
770
			return $matches[0];
771
		
772
		$level = $matches[2]{0} == '=' ? 1 : 2;
773
		$block = "<h$level>".$this->runSpanGamut($matches[1])."</h$level>";
@@ 2485-2486 (lines=2) @@
2482
		return $text;
2483
	}
2484
	protected function _doHeaders_callback_setext($matches) {
2485
		if ($matches[3] == '-' && preg_match('{^- }', $matches[1]))
2486
			return $matches[0];
2487
		$level = $matches[3]{0} == '=' ? 1 : 2;
2488
		$attr  = $this->doExtraAttributes("h$level", $dummy =& $matches[2]);
2489
		$block = "<h$level$attr>".$this->runSpanGamut($matches[1])."</h$level>";