Ticket #18104: 18104.diff

File 18104.diff, 890 bytes (added by sage, 5 years ago)

Patch

  • django/contrib/markup/templatetags/markup.py

    diff --git a/django/contrib/markup/templatetags/markup.py b/django/contrib/markup/templatetags/markup.py
    index b9fdce8..3743a85 100644
    a b def markdown(value, arg=''): 
    6565                safe_mode = True
    6666            else:
    6767                safe_mode = False
    68             python_markdown_deprecation = "The use of Python-Markdown "
    69             "< 2.1 in Django is deprecated; please update to the current version"
     68            python_markdown_deprecation = ("The use of Python-Markdown "
     69            "< 2.1 in Django is deprecated; please update to the current version")
    7070            # Unicode support only in markdown v1.7 or above. Version_info
    7171            # exist only in markdown v1.6.2rc-2 or above.
    7272            markdown_vers = getattr(markdown, "version_info", None)
Back to Top