summaryrefslogtreecommitdiff
path: root/132html
diff options
context:
space:
mode:
Diffstat (limited to '132html')
-rwxr-xr-x132html7
1 files changed, 4 insertions, 3 deletions
diff --git a/132html b/132html
index 3a16a59..1bd62ba 100755
--- a/132html
+++ b/132html
@@ -109,8 +109,9 @@ while (<STDIN>)
# Handling .sp is subtle. If it is inside a literal section, do nothing if
# the next line is a non literal text line; similarly, if not inside a
# literal section, do nothing if a literal follows, unless we are inside
- # a .nf/.ne section. The point being that the <pre> and </pre> that delimit
- # literal sections will do the spacing. Always skip if no previous output.
+ # a .nf/.fi section or about to enter one. The point being that the <pre>
+ # and </pre> that delimit literal sections will do the spacing. Always skip
+ # if no previous output.
elsif (/^\.sp/)
{
@@ -123,7 +124,7 @@ while (<STDIN>)
}
else
{
- print TEMP "<br>\n<br>\n" if ($innf || !/^[\s.]/);
+ print TEMP "<br>\n<br>\n" if ($innf || /^\.nf/ || !/^[\s.]/);
}
redo; # Now process the lookahead line we just read
}