From: Tomas Mudrunka Date: Thu, 19 Feb 2015 15:44:41 +0000 (+0100) Subject: Escape notify X-Git-Url: http://git.harvie.cz/?p=mirrors%2Flibpurple-core-answerscripts.git;a=commitdiff_plain;h=24aef432f43946d7d722cf429467c06d6ca2465b Escape notify --- diff --git a/purple/answerscripts.d/00-notify.sh b/purple/answerscripts.d/00-notify.sh index 33946e9..7e6f8db 100755 --- a/purple/answerscripts.d/00-notify.sh +++ b/purple/answerscripts.d/00-notify.sh @@ -1,3 +1,3 @@ #!/bin/sh #Show notification for each incomming message -notify-send -i pidgin "$ANSW_PROTOCOL:$ANSW_R_NAME" "$ANSW_MSG" +notify-send -i pidgin "$ANSW_PROTOCOL:$ANSW_R_NAME" "$(echo "$ANSW_MSG" | sed -e 's/&/&/g')"