1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/380fdaad0f93/ Changeset: 380fdaad0f93 User: greg Date: 2013-10-04 17:46:48 Summary: Fix for rendering rst files in tool shed repositories. Affected #: 1 file diff -r 0ee4e7ac77e25a814e02157e3d5c77c43f4b224c -r 380fdaad0f938fda743593bf682de7f2fdb95a94 templates/webapps/tool_shed/repository/common.mako --- a/templates/webapps/tool_shed/repository/common.mako +++ b/templates/webapps/tool_shed/repository/common.mako @@ -584,7 +584,10 @@ </%def><%def name="render_readme( readme, pad, parent, row_counter )"> - <% encoded_id = trans.security.encode_id( readme.id ) %> + <% + encoded_id = trans.security.encode_id( readme.id ) + from galaxy.util import unicodify + %><tr class="datasetRow" %if parent is not None: parent="${parent}" @@ -592,7 +595,15 @@ id="libraryItem-rr-${encoded_id}"><td style="padding-left: ${pad+20}px;"><table id="readme_files"> - <tr><td>${ readme.text }</td></tr> + <tr> + <td> + % if readme.name.endswith( '.rst' ): + ${ unicodify( readme.text ) } + %else: + ${ readme.text } + %endif + </td> + </tr></table></td></tr> 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.