Fix txt_handler that was broken due to idiotic overzealous 'optimization', thanks mycroftiv for finding and fixing this!

This commit is contained in:
Uriel 2009-01-30 16:19:48 +01:00
parent 590816c6d4
commit 7702c8ed9b

View file

@ -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 '<pre>' `{ sed 's/</\&lt;/g; s/>/\&gt;/g' < $1 | fmt -l 82 -j } '</pre>'
echo '<pre>'
sed 's/</\&lt;/g; s/>/\&gt;/g' < $1 | fmt -l 82 -j
echo '</pre>'
}
fn dir_listing_handler {