markdown filter does not work with non-ASCII characters
|Reported by:||anonymous||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
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.