[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-kdoc
Subject:    Multiple newlines
From:       Wolfgang Bangerth <wolf () gaia ! IWR ! Uni-Heidelberg ! De>
Date:       1999-02-25 17:31:02
[Download RAW message or body]


At present, multiple newlines are considered as paragraph break, which
seems reasonable. However, the regexp to find these is
  $Description =~ s/\n\n+/\n<\/p><p>\n/g;
(it appears twice in kdocHTML.pm), which might be replaced by
  $Description =~ s/\n(\s*\n)+/\n<\/p><p>\n/g;
to catch lines containing only whitespace also.

Regards
  Wolfgang


-------------------------------------------------------------------------
Wolfgang Bangerth            email:       wolf@gaia.iwr.uni-heidelberg.de
                             www: http://gaia.iwr.uni-heidelberg.de/~wolf

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic