Code Duplication    Length = 6-6 lines in 2 locations

framework/3rdParty/Parsedown/Parsedown.php 2 locations

@@ 711-716 (lines=6) @@
708
709
                case 'li':
710
711
                    if (isset($block['first']))
712
                    {
713
                        $type = isset($block['ordered']) ? 'ol' : 'ul';
714
715
                        $markup .= '<'.$type.'>'."\n";
716
                    }
717
718
                    if (isset($block['interrupted']) and ! isset($block['last']))
719
                    {
@@ 727-732 (lines=6) @@
724
725
                    $markup .= '<li>'.$text.'</li>'."\n";
726
727
                    if (isset($block['last']))
728
                    {
729
                        $type = isset($block['ordered']) ? 'ol' : 'ul';
730
731
                        $markup .= '</'.$type.'>'."\n";
732
                    }
733
734
                    break;
735