summaryrefslogtreecommitdiff
path: root/132html
diff options
context:
space:
mode:
authorph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069>2017-05-17 17:55:11 +0000
committerph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069>2017-05-17 17:55:11 +0000
commit45bdee7c57c54719fec201bba37d6a948836f11e (patch)
treeae991c754cab1efeaec47ead74c5421744228fda /132html
parentd3550852b452dc20ef00967af6561fd4f12f1a05 (diff)
downloadpcre2-45bdee7c57c54719fec201bba37d6a948836f11e.tar.gz
Add additional compile options and PCRE2_EXTRA_ALLOW_SURROGATE_ESCAPES.
git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@786 6239d852-aaf2-0410-a92c-79f79f948069
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
}