Remove html code before showing the growl notification.

cusax-fix
Damian Minkov 18 years ago
parent 8694bfa110
commit fe86f33dbf

@ -376,6 +376,9 @@ public void notifyGrowlOf(String inNotificationName,
String inDescription)
throws Exception
{
// remove eventual html code before showing the popup message
inDescription = inDescription.replaceAll("</?\\w++[^>]*+>", "");
notifyMethod.invoke(
notifier, new Object[]{inNotificationName, inImagePath,
inTitle, inDescription});

Loading…
Cancel
Save