Fix txt_handler that was broken due to idiotic overzealous 'optimization', thanks mycroftiv for finding and fixing this!
This commit is contained in:
parent
590816c6d4
commit
7702c8ed9b
1 changed files with 3 additions and 1 deletions
|
|
@ -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/</\</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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue