[gedit] Make sure to escape when no replacement is found
- From: Jesse van den Kieboom <jessevdk src gnome org>
- To: svn-commits-list gnome org
- Subject: [gedit] Make sure to escape when no replacement is found
- Date: Mon, 25 May 2009 18:10:10 -0400 (EDT)
commit b2b097d7b9a84c7615033710afe7ab5d66a3f905
Author: Jesse van den Kieboom <jesse icecrew nl>
Date: Tue May 26 00:09:14 2009 +0200
Make sure to escape when no replacement is found
---
plugins/quickopen/quickopen/popup.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/plugins/quickopen/quickopen/popup.py b/plugins/quickopen/quickopen/popup.py
index f9ecab0..dae4a1e 100644
--- a/plugins/quickopen/quickopen/popup.py
+++ b/plugins/quickopen/quickopen/popup.py
@@ -202,7 +202,7 @@ class Popup(gtk.Dialog):
last = 0
if len(find) == 0:
- return s
+ return xml.sax.saxutils.escape(s)
while True:
m = l.find(find, last)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]