fix list not closing right

This commit is contained in:
david 2002-01-13 16:55:38 +00:00
parent c3a4a045df
commit b78d1e4f0e
2 changed files with 8 additions and 8 deletions

View File

@ -50,8 +50,6 @@ Foo <para>Foo</para>
'''Foo''' <emphasis>Foo</emphasis>
[filename] <filename>filename</filename>
Or, you can insert arbitrary DocBook. It cannot be embedded within anything
else, though. In other words, you cannot have DocBook and one of the constructs
above in the same line.

View File

@ -82,18 +82,14 @@ sub proc_txt {
# blank lines
if ($line eq '') {
&closepara;
&closelist;
&closeorderedlist;
&closenonsect;
next;
}
# pass DocBook right on through
#
if ($line =~ /^</) {
&closepara;
$closelist;
&closeorderedlist;
&closenonsect;
$tag = $line;
$tag =~ s/^.*<//;
@ -240,6 +236,12 @@ sub close3 {
}
}
sub closenonsect {
&closepara;
&closeorderedlist;
&closelist;
}
sub closeorderedlist {
&closepara;
&closelistitem;