ref: 92c05a0c89d33d2e2870b98341466ec597dd9c2d
parent: 4fe167bceab4bd08e60dc51bd0b5cfc6d16ea49b
author: uriel <uriel@engel.se.cat-v.org>
date: Fri Jan 30 11:19:48 EST 2009
Fix txt_handler that was broken due to idiotic overzealous 'optimization', thanks mycroftiv for finding and fixing this!
--- a/bin/werc.rc
+++ b/bin/werc.rc
@@ -70,7 +70,9 @@
fn txt_handler {
# Note: Words are not broken, even if they are way beyond 82 chars long
- echo '<pre>' `{ sed 's/</\</g; s/>/\>/g' < $1 | fmt -l 82 -j } '</pre>'
+ echo '<pre>'
+ sed 's/</\</g; s/>/\>/g' < $1 | fmt -l 82 -j
+ echo '</pre>'
}
fn dir_listing_handler {