Skip to content
This repository was archived by the owner on Jun 18, 2020. It is now read-only.

Commit 9058a9a

Browse files
authored
make it ready for sphinx 1.7.5
1 parent 9a99b4e commit 9058a9a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sagenb/misc/sphinxify.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,9 @@ def sphinxify(docstring, format='html'):
6666
sage: sphinxify('A test')
6767
'...<div class="docstring">\n \n <p>A test</p>\n\n\n</div>'
6868
sage: sphinxify('**Testing**\n`monospace`')
69-
'...<div class="docstring"...<strong>Testing</strong>\n<span class="math"...</p>\n\n\n</div>'
69+
'<div class="docstring">\n \n <p><strong>Testing</strong>\n<span class="math notranslate nohighlight">monospace</span></p>\n\n\n</div>'
7070
sage: sphinxify('`x=y`')
71-
'...<div class="docstring">\n \n <p><span class="math">x=y</span></p>\n\n\n</div>'
71+
'<div class="docstring">\n \n <p><span class="math notranslate nohighlight">x=y</span></p>\n\n\n</div>'
7272
sage: sphinxify('`x=y`', format='text')
7373
'x=y\n'
7474
sage: sphinxify(':math:`x=y`', format='text')

0 commit comments

Comments
 (0)