[tomboy] Escape note titles in rename dialog
- From: Sanford Armstrong <sharm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tomboy] Escape note titles in rename dialog
- Date: Sun, 4 Jul 2010 12:44:51 +0000 (UTC)
commit ba0a8d14f2731b96e858799483376cb8aea557bc
Author: Sandy Armstrong <sanfordarmstrong gmail com>
Date: Sun Jul 4 05:44:30 2010 -0700
Escape note titles in rename dialog
https://bugzilla.gnome.org/show_bug.cgi?id=623501
Tomboy/NoteRenameDialog.cs | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/Tomboy/NoteRenameDialog.cs b/Tomboy/NoteRenameDialog.cs
index e27dd13..1d88ba1 100644
--- a/Tomboy/NoteRenameDialog.cs
+++ b/Tomboy/NoteRenameDialog.cs
@@ -70,7 +70,9 @@ namespace Tomboy
"they will no longer link to anything.");
var label = new Label ();
label.UseMarkup = true;
- label.Markup = String.Format (labelText, oldTitle, renamedNote.Title);
+ label.Markup = String.Format (labelText,
+ GLib.Markup.EscapeText (oldTitle),
+ GLib.Markup.EscapeText (renamedNote.Title));
label.LineWrap = true;
VBox.PackStart (label, false, true, 5);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]