From 6d89d027b747758104b25b18149eeafeebeb03c6 Mon Sep 17 00:00:00 2001 From: Declow Date: Mon, 7 Oct 2024 21:44:54 +0200 Subject: [PATCH] Fixed a bug with markdown where kwargs would throw an exception during some rendering --- uiwiz/elements/markdown/markdown.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/uiwiz/elements/markdown/markdown.py b/uiwiz/elements/markdown/markdown.py index 1ddea70..78fb87d 100644 --- a/uiwiz/elements/markdown/markdown.py +++ b/uiwiz/elements/markdown/markdown.py @@ -14,11 +14,11 @@ def __init__(self, content="") -> None: self.render_html = False self.classes("markdown-body") - def render_self(self, *_) -> str: + def render_self(self, *args, **kwargs) -> str: output = "" self.content = markdown2.markdown(self.content, extras=["fenced-code-blocks"]) self.content = self.content.replace("