mirror of
https://github.com/kennethreitz/replit-py.git
synced 2026-06-05 23:10:18 +00:00
Add missing space before HTML attributes
This commit is contained in:
@@ -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"</{self.tagname}>"
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user