Code Duplication    Length = 9-9 lines in 2 locations

lib/textmark/textmark.php 2 locations

@@ 545-553 (lines=9) @@
542
	 **
543
	 */
544
545
	function _doItalicAndBold_em_callback($matches)
546
	{
547
		$text = $matches[2];
548
		$text = $this->runSpanGamut($text);
549
550
		$tag = ($matches[1] == '*') ? 'strong' : 'em';
551
552
		return $this->hashPart("<$tag>$text</$tag>");
553
	}
554
555
	function _doItalicAndBold_strong_callback($matches)
556
	{
@@ 555-563 (lines=9) @@
552
		return $this->hashPart("<$tag>$text</$tag>");
553
	}
554
555
	function _doItalicAndBold_strong_callback($matches)
556
	{
557
		$text = $matches[2];
558
		$text = $this->runSpanGamut($text);
559
560
		$tag = ($matches[1] == '**') ? 'b' : 'i';
561
562
		return $this->hashPart("<$tag>$text</$tag>");
563
	}
564
565
	/*
566
	 **