mirror of https://github.com/tLDP/LDP
explicitly close lists
This commit is contained in:
parent
2093694ae3
commit
e18cf02ae3
|
@ -112,7 +112,7 @@ sub proc_txt {
|
||||||
if ($line eq '') {
|
if ($line eq '') {
|
||||||
if ($noparadepth == 0) {
|
if ($noparadepth == 0) {
|
||||||
&closenonsect;
|
&closenonsect;
|
||||||
&closelists;
|
# &closelists;
|
||||||
next;
|
next;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -249,8 +249,6 @@ sub proc_txt {
|
||||||
#
|
#
|
||||||
$line = $originalline;
|
$line = $originalline;
|
||||||
|
|
||||||
# structured docbook
|
|
||||||
#
|
|
||||||
# sect3
|
# sect3
|
||||||
#
|
#
|
||||||
} elsif ($line =~ /^===/) {
|
} elsif ($line =~ /^===/) {
|
||||||
|
@ -301,6 +299,8 @@ sub proc_txt {
|
||||||
$line =~ s/^/<listitem><para>/;
|
$line =~ s/^/<listitem><para>/;
|
||||||
$listitem = 1;
|
$listitem = 1;
|
||||||
$para = 1;
|
$para = 1;
|
||||||
|
} elsif ($line = '/#') {
|
||||||
|
&closeorderedlist;
|
||||||
|
|
||||||
# itemizedlist
|
# itemizedlist
|
||||||
#
|
#
|
||||||
|
@ -316,6 +316,8 @@ sub proc_txt {
|
||||||
$line =~ s/^/<listitem><para>/;
|
$line =~ s/^/<listitem><para>/;
|
||||||
$listitem = 1;
|
$listitem = 1;
|
||||||
$para = 1;
|
$para = 1;
|
||||||
|
} elsif ($line = '/*') {
|
||||||
|
&closeitemizedlist;
|
||||||
|
|
||||||
# question
|
# question
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in New Issue