commit/galaxy-central: dan: Fix for unicode values in rst_to_html.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/ea0c57f1cdf0/ Changeset: ea0c57f1cdf0 User: dan Date: 2013-09-12 16:55:16 Summary: Fix for unicode values in rst_to_html. Affected #: 1 file diff -r 13a0dffd3422178b5ae46afdb9aeb819680b8e61 -r ea0c57f1cdf0c17906bda3455ca0201972eb87c9 lib/galaxy/util/__init__.py --- a/lib/galaxy/util/__init__.py +++ b/lib/galaxy/util/__init__.py @@ -444,9 +444,9 @@ def write( self, str ): if len( str ) > 0 and not str.isspace(): log.warn( str ) - return docutils.core.publish_string(s, + return unicodify( docutils.core.publish_string( s, writer=docutils.writers.html4css1.Writer(), - settings_overrides={"embed_stylesheet": False, "template": os.path.join(os.path.dirname(__file__), "docutils_template.txt"), "warning_stream": FakeStream()}) + settings_overrides={ "embed_stylesheet": False, "template": os.path.join(os.path.dirname(__file__), "docutils_template.txt"), "warning_stream": FakeStream() } ) ) def xml_text(root, name=None): """Returns the text inside an element""" 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