From c3eb58d2228fa552ce59aa84c8fc38b5dd842116 Mon Sep 17 00:00:00 2001 From: Tomas Mudrunka Date: Sun, 22 Feb 2015 18:05:58 +0100 Subject: [PATCH] simplified recoding of entities for notify-send --- purple/answerscripts.d/00-notify.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- 2.30.2