[2.1.x] Made versionadded/versionchanged annotations without a content end with ".".
Regression ind2afa5eb23
. Backport of5032556483
from master
This commit is contained in:
parent
0423ea1fa8
commit
ed50f6c424
|
@ -153,7 +153,7 @@ class DjangoHTMLTranslator(HTMLTranslator):
|
|||
if version_text:
|
||||
title = "%s%s" % (
|
||||
version_text % node['version'],
|
||||
":" if node else "."
|
||||
":" if len(node) else "."
|
||||
)
|
||||
self.body.append('<span class="title">%s</span> ' % title)
|
||||
|
||||
|
|
Loading…
Reference in New Issue