Better escaping for notify-send
[mirrors/libpurple-core-answerscripts.git] / purple / answerscripts.d / 00-notify.sh
index 33946e9457acbadfc566ef7d5d5aa0786df973fe..6d0117d1f9a98b2fbc789f0a3e2e3ae25fe8085b 100755 (executable)
@@ -1,3 +1,4 @@
 #!/bin/sh
 #Show notification for each incomming message
+which recode >/dev/null && ANSW_MSG="$(echo "$ANSW_MSG" | recode ascii..html)"
 notify-send -i pidgin "$ANSW_PROTOCOL:$ANSW_R_NAME" "$ANSW_MSG"
This page took 0.115368 seconds and 4 git commands to generate.