671 |
<h2>Document Source</h2> |
<h2>Document Source</h2> |
672 |
<ol lang="">\n]; |
<ol lang="">\n]; |
673 |
if (length $$s) { |
if (length $$s) { |
674 |
while ($$s =~ /\G([^\x0A]*?)\x0D?\x0A/gc) { |
while ($$s =~ /\G([^\x0D\x0A]*?)(?>\x0D\x0A?|\x0A)/gc) { |
675 |
print STDOUT qq[<li id="$input->{id_prefix}line-$i">], htescape $1, |
print STDOUT qq[<li id="$input->{id_prefix}line-$i">], htescape $1, |
676 |
"</li>\n"; |
"</li>\n"; |
677 |
$i++; |
$i++; |
678 |
} |
} |
679 |
if ($$s =~ /\G([^\x0A]+)/gc) { |
if ($$s =~ /\G([^\x0D\x0A]+)/gc) { |
680 |
print STDOUT qq[<li id="$input->{id_prefix}line-$i">], htescape $1, |
print STDOUT qq[<li id="$input->{id_prefix}line-$i">], htescape $1, |
681 |
"</li>\n"; |
"</li>\n"; |
682 |
} |
} |