I am having a bit of trouble with the rendering of tool help sections.
When I use the following reStructuredText:
The first section title "What it Does" is not displayed (tested in Chrome and Firefox):
However if I modify the second section title to use "=" as a separator instead of "-":
The first section title is displayed correctly.
Is this behaving normally? Are 2 section titles using "=" required for the first title to be displayed?
This behavior is odd to me - the source of the issue seems to be buried deep in Galaxy (isn't like a web rendering thing or a browser issue).
>>> from galaxy.util import rst_to_html
>>> rst_to_html("Title1\n======\nText1\nText2\n\n")
u'<p>Text1\nText2</p>\n'
>>> rst_to_html("Title1\n======\nText1\nText2\n\nTitle2\n======")
u'<div class="section" id="title1">\n<h1>Title1</h1>\n<p>Text1\nText2</p>\n</div>\n<div class="section" id="title2">\n<h1>Title2</h1>\n</div>\n'
I'll look into it some more.