mirror of https://github.com/tLDP/LDP
bugfixes
This commit is contained in:
parent
2773e8cff7
commit
44bbd74a19
|
@ -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>';
|
||||||
¶
|
# ¶
|
||||||
$initem[-1] = 1;
|
$initem[-1] = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue