-
Notifications
You must be signed in to change notification settings - Fork 285
Open
Labels
bugSomething isn't workingSomething isn't working
Description
In the example (https://www.fastht.ml/docs/tutorials/by_example.html):
class Person:
def init(self, name, age):
self.name = name
self.age = age
def __ft__(self):
return ['div', [f'{self.name} is {self.age} years old.'], {}]
p = Person('Jonathan', 28)
print(to_xml(Div(p, "more text", cls="container")))
Output not render the tag "div", show:
['div', ['Jonathan is 28 years old.'], {}]more text
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working