mirror of
				https://github.com/django/django.git
				synced 2025-10-31 09:41:08 +00:00 
			
		
		
		
	Made versionadded/versionchanged annotations without a content end with ".".
Regression in d2afa5eb23.
			
			
This commit is contained in:
		
				
					committed by
					
						 Mariusz Felisiak
						Mariusz Felisiak
					
				
			
			
				
	
			
			
			
						parent
						
							f5ebdfce5c
						
					
				
				
					commit
					5032556483
				
			| @@ -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) | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user