commit/galaxy-central: greg: Convert markupsafe object to unicode before rendering in the tool shed.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/6e291fa55e10/ Changeset: 6e291fa55e10 User: greg Date: 2013-09-03 17:10:50 Summary: Convert markupsafe object to unicode before rendering in the tool shed. Affected #: 1 file diff -r 535d8ed52369a8bf02ce5e382b488bf94a6f257b -r 6e291fa55e10aa235196ac1c9f4c4dcb0afeaf6d lib/tool_shed/util/shed_util_common.py --- a/lib/tool_shed/util/shed_util_common.py +++ b/lib/tool_shed/util/shed_util_common.py @@ -1468,7 +1468,7 @@ text = unicodify( text ) except UnicodeDecodeError, e: return "Error decoding string: %s" % str( e ) - text = markupsafe.escape( text ) + text = unicode( markupsafe.escape( text ) ) text = text.replace( '\n', '<br/>' ) text = text.replace( ' ', ' ' ) text = text.replace( ' ', ' ' ) Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.
participants (1)
-
commits-noreply@bitbucket.org