[Bug 260010] www/py-django-markwhat is broken after textproc/py-markdown 3.x update

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 25 Nov 2021 04:42:04 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260010

--- Comment #2 from Simeon Simeonov <sgs@pichove.org> ---
The failure is that 1.6.1 lacks Markdown 3.x compatibility and calls / uses
the markdown.markdown function in a wrong way.

https://github.com/Alir3z4/django-markwhat/releases/tag/1.6.2 

    output = self.filter_expression.resolve(context)
  File "/usr/lib/python3.9/site-packages/django/template/base.py", line 698, in
resolve
    new_obj = func(obj, *arg_vals)
  File
"/home/sgs/development/venvs/django_markwhat_test/lib/python3.9/site-packages/django_markwhat/templatetags/markup.py",
line 70, in markdown
    return mark_safe(markdown.markdown(
TypeError: markdown() takes 1 positional argument but 2 were given

-- 
You are receiving this mail because:
You are on the CC list for the bug.