diff --git a/ratatoskr.sh b/ratatoskr.sh index 23fe98d..fd3f4a7 100755 --- a/ratatoskr.sh +++ b/ratatoskr.sh @@ -199,6 +199,7 @@ show_timeline() { # handle new events events="$(jq -r '.[].content' <<< "$result")" stripped_events="$(echo "$events" | sed -E 's/<[^>]+>//g')" + stripped_events="${stripped_events//'/\'}" usernames="$(jq -r '.[].account.username' <<< "$result")" echo -e "$usernames" | while read -r username; do echo "$username: $(echo "$stripped_events" | head -n 1)"