From 1d59a84104303d21d9dc1412fbe76662009a80e4 Mon Sep 17 00:00:00 2001 From: "Rob G. Healey" Date: Thu, 10 Mar 2011 14:43:50 +0000 Subject: [PATCH] Escape media description in gramplet for proper handling of media names. svn: r16800 --- src/plugins/gramplet/MediaMetadata.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/gramplet/MediaMetadata.py b/src/plugins/gramplet/MediaMetadata.py index aced70e84..6323a6d48 100644 --- a/src/plugins/gramplet/MediaMetadata.py +++ b/src/plugins/gramplet/MediaMetadata.py @@ -203,7 +203,7 @@ class MediaMetadata(Gramplet): self.plugin_image.read() # display media description - title = active_media.get_description() + title = _html_escape(active_media.get_description()) self.exif_widgets["ActiveImage"].set_text(title) # set up image metadata keys for use in this gramplet