site

My personal website.

Date: Fri, 16 Jul 2021 15:21:53 +0200

Only wrap text when generating gopher

Diffstat:

M generate                            |       2 +-

1 file changed, 1 insertion(+), 1 deletion(-)

@@ -185,7 +185,6 @@ preformatted {
     next;
 }
 {
-    $0 = wrap($0);
     if (html && list) {
         print "</ul>";
         list = 0;
@@ -196,6 +195,7 @@ preformatted {
         else
             print "<p>" $0 "</p>";
     } else {
+        $0 = wrap($0);
         print "t" $0;
     }
 }