diff --git a/ludic/base.py b/ludic/base.py index d770f9d..4d796a6 100644 --- a/ludic/base.py +++ b/ludic/base.py @@ -22,7 +22,7 @@ def __init__(self, *children: Any, **attrs: Any) -> None: self.attrs = attrs def __str__(self) -> str: - return self.to_string() + return self.to_html() def __format__(self, _: str) -> str: return self.formatter.append(self)