formatting improvements to the bash.org module.

This commit is contained in:
Storm Dragon 2016-09-24 23:09:37 -04:00
parent e1f7d87c91
commit 3d8f2325a5

View File

@ -5,7 +5,7 @@ quote="$(echo "$quote" | grep -m 1 -A 10 '"Permanent link to this quote."')"
quote="${quote#*class=\"qt\">}"
quote="${quote//&lt;/<}"
quote="${quote//&gt;/>}"
quote="${quote%</p>*}"
quote="${quote%%<p class*}"
quote="$(echo "$quote" | html2text)"
msg "$2" "$quote"
msg "$2" "$(echo "$quote" | tr -s '[:space:]' ' ')"
exit 0