formatting improvements to the bash.org module.
This commit is contained in:
1 parent
e1f7d87c91
commit
3d8f2325a5
1 file changed
+2
-2
@@ -5,7 +5,7 @@ quote="$(echo "$quote" | grep -m 1 -A 10 '"Permanent link to this quote."')"
|
||||
quote="${quote#*class=\"qt\">}"
|
||||
quote="${quote//</<}"
|
||||
quote="${quote//>/>}"
|
||||
quote="${quote%</p>*}"
|
||||
quote="${quote%%<p class*}"
|
||||
quote="$(echo "$quote" | html2text)"
|
||||
msg "$2" "$quote"
|
||||
msg "$2" "$(echo "$quote" | tr -s '[:space:]' ' ')"
|
||||
exit 0
|
||||
Reference in new issue
Block a user