mirror of
				https://github.com/django/django.git
				synced 2025-10-31 01:25:32 +00:00 
			
		
		
		
	[1.4.X] Fixed #18104 -- Added missing parentheses around two-lines deprecation string. Thanks Roy Smith for the report.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.4.X@17897 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
		| @@ -65,8 +65,8 @@ def markdown(value, arg=''): | |||||||
|                 safe_mode = True |                 safe_mode = True | ||||||
|             else: |             else: | ||||||
|                 safe_mode = False |                 safe_mode = False | ||||||
|             python_markdown_deprecation = "The use of Python-Markdown " |             python_markdown_deprecation = ("The use of Python-Markdown " | ||||||
|             "< 2.1 in Django is deprecated; please update to the current version" |             "< 2.1 in Django is deprecated; please update to the current version") | ||||||
|             # Unicode support only in markdown v1.7 or above. Version_info |             # Unicode support only in markdown v1.7 or above. Version_info | ||||||
|             # exist only in markdown v1.6.2rc-2 or above. |             # exist only in markdown v1.6.2rc-2 or above. | ||||||
|             markdown_vers = getattr(markdown, "version_info", None) |             markdown_vers = getattr(markdown, "version_info", None) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user