From 7702c8ed9b9b62f5f0ba6c44c9732937501d332e Mon Sep 17 00:00:00 2001 From: Uriel Date: Fri, 30 Jan 2009 16:19:48 +0100 Subject: [PATCH] Fix txt_handler that was broken due to idiotic overzealous 'optimization', thanks mycroftiv for finding and fixing this! --- bin/werc.rc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/werc.rc b/bin/werc.rc index c74f24d..022b68e 100755 --- a/bin/werc.rc +++ b/bin/werc.rc @@ -70,7 +70,9 @@ fn html_handler { fn txt_handler { # Note: Words are not broken, even if they are way beyond 82 chars long - echo '
' `{ sed 's//\>/g' < $1 | fmt -l 82 -j } '
' + echo '
'
+    sed 's//\>/g' < $1 | fmt -l 82 -j
+    echo '
' } fn dir_listing_handler {