[gnome-shell] notificationDaemon: fix escaping in xchat rewrite rules



commit b25bad99951cde2066ba79183ef0da2d985c0ea4
Author: Dan Winship <danw gnome org>
Date:   Mon Nov 29 11:12:21 2010 -0500

    notificationDaemon: fix escaping in xchat rewrite rules
    
    https://bugzilla.gnome.org/show_bug.cgi?id=635712

 js/ui/notificationDaemon.js |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/js/ui/notificationDaemon.js b/js/ui/notificationDaemon.js
index dc50537..0f2a6c9 100644
--- a/js/ui/notificationDaemon.js
+++ b/js/ui/notificationDaemon.js
@@ -75,11 +75,11 @@ const Urgency = {
 const rewriteRules = {
     'XChat': [
         { pattern:     /^XChat: Private message from: (\S*) \(.*\)$/,
-          replacement: '&lt;$1&gt;' },
+          replacement: '<$1>' },
         { pattern:     /^XChat: New public message from: (\S*) \((.*)\)$/,
-          replacement: '$2 &lt;$1&gt;' },
+          replacement: '$2 <$1>' },
         { pattern:     /^XChat: Highlighted message from: (\S*) \((.*)\)$/,
-          replacement: '$2 &lt;$1&gt;' }
+          replacement: '$2 <$1>' }
     ]
 };
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]