summaryrefslogtreecommitdiffstats
path: root/iredis/markdown.py
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-09-20 09:20:47 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-09-20 09:20:47 +0000
commitec80aa0259c0c014bbbe496bd19a570be6fc6fae (patch)
tree7d516a3b07dd7a8e27bc492e47c26aaa30c3c159 /iredis/markdown.py
parentAdding upstream version 1.13.1. (diff)
downloadiredis-ec80aa0259c0c014bbbe496bd19a570be6fc6fae.tar.xz
iredis-ec80aa0259c0c014bbbe496bd19a570be6fc6fae.zip
Adding upstream version 1.13.2.upstream/1.13.2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'iredis/markdown.py')
-rw-r--r--iredis/markdown.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/iredis/markdown.py b/iredis/markdown.py
index 6f26642..89297ec 100644
--- a/iredis/markdown.py
+++ b/iredis/markdown.py
@@ -30,7 +30,7 @@ class TerminalRender(mistune.HTMLRenderer):
return super().heading(header_text, 2)
return super().heading(self._to_title(text), level)
- def list(self, body, ordered, level, start=None):
+ def list(self, body, ordered, *args, **kwargs):
"""Rendering list tags like ``<ul>`` and ``<ol>``.
:param body: body contents of the list.
@@ -41,7 +41,7 @@ class TerminalRender(mistune.HTMLRenderer):
tag = "ol"
return "<%s>%s</%s>\n" % (tag, body, tag)
- def list_item(self, text, level):
+ def list_item(self, text, *args):
"""Rendering list item snippet. Like ``<li>``."""
return "<li> * %s</li>\n" % text