changeset 122:8b0eee98ac28

text_x_arnica: esacpes exif date
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Sat, 28 Jun 2008 13:38:50 +0200
parents f6ce62994858
children 98dbdb44e4f9
files data/plugin/parser/text_x_arnica.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/data/plugin/parser/text_x_arnica.py	Sat Jun 28 13:35:41 2008 +0200
+++ b/data/plugin/parser/text_x_arnica.py	Sat Jun 28 13:38:50 2008 +0200
@@ -191,7 +191,7 @@
         id_file.close()
         if tags.has_key('EXIF DateTimeOriginal'):
             date = str(tags['EXIF DateTimeOriginal'])
-            date = date.replace(':', '-', 2)
+            date = wikiutil.escape(date.replace(':', '-', 2))
     return date
 
 def _get_files(request, pagename):