Ticket #6526: 6526-mardown-html-removed-text.diff
File 6526-mardown-html-removed-text.diff, 660 bytes (added by , 16 years ago) |
---|
-
django/contrib/markup/templatetags/markup.py
66 66 else: 67 67 safe_mode = False 68 68 69 if settings.MARKDOWN_HTML_REMOVED_TEXT: 70 markdown.HTML_REMOVED_TEXT = settings.MARKDOWN_HTML_REMOVED_TEXT 71 69 72 # Unicode support only in markdown v1.7 or above. Version_info 70 73 # exist only in markdown v1.6.2rc-2 or above. 71 74 if getattr(markdown, "version_info", None) < (1,7):