*** Text/Markdown.pm Fri Jan 11 22:36:12 2008 --- Text/Markdown.pm Thu Jan 24 05:08:47 2008 *************** *** 653,659 **** (?=\S) (?! # Negative lookahead for another list item marker [ \t]* ! ${marker_any}[ \t]+ ) ) ) --- 653,659 ---- (?=\S) (?! # Negative lookahead for another list item marker [ \t]* ! \3[ \t]+ ) ) ) *************** *** 687,693 **** # Turn double returns into triple returns, so that we can make a # paragraph for the last item in a list, if necessary: $list =~ s/\n{2,}/\n\n\n/g; ! my $result = _ProcessListItems($list, $marker_any); $result = "<$list_type>\n" . $result . "\n"; $result; }egmx; --- 687,695 ---- # Turn double returns into triple returns, so that we can make a # paragraph for the last item in a list, if necessary: $list =~ s/\n{2,}/\n\n\n/g; ! my $result = ( $list_type eq 'ul' ) ? ! _ProcessListItems($list, $marker_ul) ! : _ProcessListItems($list, $marker_ol); $result = "<$list_type>\n" . $result . "\n"; $result; }egmx; *************** *** 702,708 **** # Turn double returns into triple returns, so that we can make a # paragraph for the last item in a list, if necessary: $list =~ s/\n{2,}/\n\n\n/g; ! my $result = _ProcessListItems($list, $marker_any); $result = "<$list_type>\n" . $result . "\n"; $result; }egmx; --- 704,712 ---- # Turn double returns into triple returns, so that we can make a # paragraph for the last item in a list, if necessary: $list =~ s/\n{2,}/\n\n\n/g; ! my $result = ( $list_type eq 'ul' ) ? ! _ProcessListItems($list, $marker_ul) ! : _ProcessListItems($list, $marker_ol); $result = "<$list_type>\n" . $result . "\n"; $result; }egmx;