--- embedaddon/pcre/132html 2012/02/21 23:05:51 1.1
+++ embedaddon/pcre/132html 2014/06/15 19:46:04 1.1.1.2
@@ -108,9 +108,9 @@ while ()
# 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. The point being that
- # the and
that delimit literal sections will do the spacing.
- # Always skip if no previous output.
+ # literal section, do nothing if a literal follows, unless we are inside
+ # a .nf/.ne section. The point being that the and
that delimit
+ # literal sections will do the spacing. Always skip if no previous output.
elsif (/^\.sp/)
{
@@ -123,7 +123,7 @@ while ()
}
else
{
- print TEMP "
\n
\n" if (!/^[\s.]/);
+ print TEMP "
\n
\n" if ($innf || !/^[\s.]/);
}
redo; # Now process the lookahead line we just read
}