/[pcre]/code/trunk/132html
ViewVC logotype

Diff of /code/trunk/132html

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1338 by ph10, Mon Oct 5 10:59:35 2009 UTC revision 1339 by ph10, Fri Jun 14 09:09:28 2013 UTC
# Line 108  while (<STDIN>) Line 108  while (<STDIN>)
108    
109      # Handling .sp is subtle. If it is inside a literal section, do nothing if      # Handling .sp is subtle. If it is inside a literal section, do nothing if
110      # the next line is a non literal text line; similarly, if not inside a      # the next line is a non literal text line; similarly, if not inside a
111      # literal section, do nothing if a literal follows. The point being that      # literal section, do nothing if a literal follows, unless we are inside
112      # the <pre> and </pre> that delimit literal sections will do the spacing.      # a .nf/.ne section. The point being that the <pre> and </pre> that delimit
113      # Always skip if no previous output.      # literal sections will do the spacing. Always skip if no previous output.
114    
115      elsif (/^\.sp/)      elsif (/^\.sp/)
116        {        {
# Line 123  while (<STDIN>) Line 123  while (<STDIN>)
123            }            }
124          else          else
125            {            {
126            print TEMP "<br>\n<br>\n" if (!/^[\s.]/);            print TEMP "<br>\n<br>\n" if ($innf || !/^[\s.]/);
127            }            }
128          redo;    # Now process the lookahead line we just read          redo;    # Now process the lookahead line we just read
129          }          }

Legend:
Removed from v.1338  
changed lines
  Added in v.1339

  ViewVC Help
Powered by ViewVC 1.1.5