X-Git-Url: http://git.harvie.cz/?p=mirrors%2Flibpurple-core-answerscripts.git;a=blobdiff_plain;f=purple%2Fanswerscripts.d%2F00-notify.sh;h=dc7033d7b8bf628757fe5ae646118209a8e0308e;hp=504959f709b5a3ca7289405bcd1545fba0b8038f;hb=c3eb58d2228fa552ce59aa84c8fc38b5dd842116;hpb=fc6b1b84823278e134efaf56536ab58eb205de2c diff --git a/purple/answerscripts.d/00-notify.sh b/purple/answerscripts.d/00-notify.sh index 504959f..dc7033d 100755 --- a/purple/answerscripts.d/00-notify.sh +++ b/purple/answerscripts.d/00-notify.sh @@ -1,4 +1,4 @@ #!/bin/sh #Show notification for each incomming message -which recode >/dev/null && ANSW_MSG="$(echo "$ANSW_MSG" | recode ..html)" +ANSW_MSG="$(echo "$ANSW_MSG" | sed -e 's/&/&\;/g;s//\>/g')" notify-send -i pidgin "$ANSW_PROTOCOL:$ANSW_R_NAME" "$ANSW_MSG"