This commit is contained in:
david 2002-03-10 16:32:16 +00:00
parent 2773e8cff7
commit 44bbd74a19
1 changed files with 3 additions and 3 deletions

View File

@ -978,7 +978,7 @@ TAG: while ($line =~ /\@\w+\{[^\{]*?\}/) {
# don't process internal tag. # don't process internal tag.
# #
if (scalar @tableformat) { if (scalar @tableformat) {
if ($tableformat[-1] eq $tag) { if (($infirstcol[-1]) and ($tableformat[-1] eq $tag)) {
&message("not doubly wrapping tag $tag") if ($verbose >2); &message("not doubly wrapping tag $tag") if ($verbose >2);
$replacement = $contents; $replacement = $contents;
&replaceinline; &replaceinline;
@ -1665,7 +1665,7 @@ sub appendix {
&closeappendix; &closeappendix;
&initnode; &initnode;
&convertinline; &convertinline;
&normalizespecial($line); &normalizespecial($nodetitle);
if ($nodeid) { if ($nodeid) {
$buf .= "\<appendix id='$nodeid'\>\<title id='$nodeid-title'\>$nodetitle<\/title\>\n"; $buf .= "\<appendix id='$nodeid'\>\<title id='$nodeid-title'\>$nodetitle<\/title\>\n";
} else { } else {
@ -1898,7 +1898,7 @@ sub item {
sub listitem { sub listitem {
&closelistitem; &closelistitem;
$buf .= '<listitem>'; $buf .= '<listitem>';
&para; # &para;
$initem[-1] = 1; $initem[-1] = 1;
} }