From dcbef77b753c7e5b6f7f13efecf74ff5d1c62c4f Mon Sep 17 00:00:00 2001 From: Scoder12 <34356756+Scoder12@users.noreply.github.com> Date: Tue, 28 Jul 2020 12:52:52 -0700 Subject: [PATCH] Add missing space before HTML attributes --- src/replit/maqpy/html.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/replit/maqpy/html.py b/src/replit/maqpy/html.py index 8796e83..0014bb9 100644 --- a/src/replit/maqpy/html.py +++ b/src/replit/maqpy/html.py @@ -30,7 +30,7 @@ class HTMLElement(ABC): """Generates an HTML representation of the tag.""" attr_text = self.stringify_attrs() return ( - f"<{self.tagname}{'' + attr_text if attr_text else ''}>{self.content}" + f"<{self.tagname}{' ' + attr_text if attr_text else ''}>{self.content}" f"" )