Hi!

HTML output for literals following :returns: is wrong:

With

--8<---------------cut here---------------start------------->8---

.. function:: foo()

   :returns: ``True`` or ``False``

--8<---------------cut here---------------end--------------->8---

the HTML for the "Returns" line is


--8<---------------cut here---------------start------------->8---
<tr class="field"><th class="field-name">Returns:</th><td 
class="field-body">&lt;literal&gt;True&lt;/literal&gt; or <tt class="xref 
docutils literal"><span class="pre">False</span></tt></td>
--8<---------------cut here---------------end--------------->8---

causing "``True``" to be rendered as "<literal>True</literal>" (but
``False`` is fine). It's the same for other literals.






   Florian
-- 
The number of the beef: 48879

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sphinx-dev?hl=en.

Reply via email to