mirror of
https://github.com/django/django.git
synced 2025-07-30 16:44:30 +00:00
[2.2.x] Made versionadded/versionchanged annotations without a content end with ".".
Regression ind2afa5eb23
. Backport of5032556483
from master
This commit is contained in:
parent
11e42001d9
commit
9c0fed53ed
1 changed files with 1 additions and 1 deletions
|
@ -153,7 +153,7 @@ class DjangoHTMLTranslator(HTMLTranslator):
|
||||||
if version_text:
|
if version_text:
|
||||||
title = "%s%s" % (
|
title = "%s%s" % (
|
||||||
version_text % node['version'],
|
version_text % node['version'],
|
||||||
":" if node else "."
|
":" if len(node) else "."
|
||||||
)
|
)
|
||||||
self.body.append('<span class="title">%s</span> ' % title)
|
self.body.append('<span class="title">%s</span> ' % title)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue