Added support for continuation lines
authorJoey Schulze <joey@infodrom.org>
Wed, 10 Dec 2003 10:06:11 +0000 (10:06 +0000)
committerJoey Schulze <joey@infodrom.org>
Wed, 10 Dec 2003 10:06:11 +0000 (10:06 +0000)
src/News/index.wml
src/News/olds.wml

index 96e75de..2f123d3 100644 (file)
        if (open (NEWS, $news[$i])) {
            printf "<b>%s</b><br>", $date;
            while (<NEWS>) {
+               if (/\\$/) {
+                   s,\\$,,;
+                   chomp;
+               }
                print;
            }
            close (NEWS);
@@ -33,5 +37,4 @@
 # Local variables:
 # mode: indented-text
 # mode: auto-fill
-# mode: iso-accents
 # end:
index b492c91..2c294bb 100644 (file)
        if (open (NEWS, $news[$i])) {
            printf "<b>%s</b><br>", $date;
            while (<NEWS>) {
+               if (/\\$/) {
+                   s,\\$,,;
+                   chomp;
+               }
                print;
            }
            close (NEWS);