diff options
author | ph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069> | 2017-05-17 17:55:11 +0000 |
---|---|---|
committer | ph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069> | 2017-05-17 17:55:11 +0000 |
commit | 45bdee7c57c54719fec201bba37d6a948836f11e (patch) | |
tree | ae991c754cab1efeaec47ead74c5421744228fda /132html | |
parent | d3550852b452dc20ef00967af6561fd4f12f1a05 (diff) | |
download | pcre2-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-x | 132html | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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 } |