Switched from tr -cd print to iconv to prevent crash characters.
This commit is contained in:
1 parent
e1bb820a41
commit
d5ee33b24b
2 files changed
+2
-2
No files matched your search
@@ -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