changeset 1417:2a59cb0f0755

merged
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Mon, 09 Jul 2012 12:15:16 +0200
parents ac21bb448ba8 (current diff) bda9795afce6 (diff)
children 25f390d1c829 d7ccb653e7aa
files
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/converter/html_out.py	Sun Jul 08 14:24:32 2012 +0200
+++ b/MoinMoin/converter/html_out.py	Mon Jul 09 12:15:16 2012 +0200
@@ -367,7 +367,7 @@
 
         if obj_type == "img":
             # Images have alt text
-            alt = ''.join(str(e) for e in elem) # XXX handle non-text e
+            alt = ''.join(unicode(e) for e in elem) # XXX handle non-text e
             if alt:
                 attrib[html.alt] = alt
             new_elem = html.img(attrib=attrib)