Switched from tr -cd print to iconv to prevent crash characters.
This commit is contained in:
@ -8,5 +8,5 @@ quote="${quote//</ <}"
|
||||
quote="${quote//>/> }"
|
||||
quote="${quote%%<p class*}"
|
||||
quote="$(echo "$quote" | w3m -dump -T text/html)"
|
||||
msg "$2" "$(echo "$quote" | tr -cd '[:print:]')"
|
||||
msg "$2" "$(echo "$quote" | iconv -f utf-8 -t ascii)"
|
||||
set +f
|
||||
|
Reference in New Issue
Block a user