none
This commit is contained in:
parent
2807fa3c18
commit
2bb14cc6ff
@ -86,21 +86,17 @@ else
|
||||
fi
|
||||
|
||||
# output the result
|
||||
echo '<html><head>'
|
||||
#echo '<title>' "$title" '</title>'
|
||||
echo '<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">'
|
||||
echo '</head><body>'
|
||||
echo '<pre>'
|
||||
|
||||
#untex -giso -a "$infile" | \
|
||||
cat <<EOF
|
||||
<html><head>
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
||||
</head><body><pre>
|
||||
EOF
|
||||
|
||||
$CMD "$infile" | \
|
||||
iconv -c -f iso-8859-1 -t utf-8 | \
|
||||
sed \
|
||||
-e 's/</</g' -e 's/&/&/g'
|
||||
sed -e 's/</</g' -e 's/&/&/g'
|
||||
|
||||
echo '</pre>'
|
||||
echo '</body></html>'
|
||||
echo '</pre></body></html>'
|
||||
|
||||
# exit normally
|
||||
exit 0
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user