#7678: markdown filter does not work with non-ASCII characters --------------------------+------------------------------------------------- Reporter: anonymous | Owner: nobody Status: new | Milestone: Component: Contrib apps | Version: SVN Keywords: markup | Stage: Unreviewed Has_patch: 0 | --------------------------+------------------------------------------------- The markdown filter calls markdown with smart_str(value). This forces the value to utf-8. The markdown module does not accept a utf-8 str, only unicode or an ascii str. It raises an exception, informing the user of this fact, which django then ignores, resulting in no output from the filter.
Since markdown accepts unicode, there is no reason to call smart_str on the value, it can just be passed straight to markdown. -- Ticket URL: <http://code.djangoproject.com/ticket/7678> Django Code <http://code.djangoproject.com/> The web framework for perfectionists with deadlines --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-updates?hl=en -~----------~----~----~----~------~----~------~--~---
