fix: I just want to read my code, ok?
This commit is contained in:
@@ -140,11 +140,7 @@ class LemonadeWindow(Gtk.ApplicationWindow):
|
||||
if not "description" in community["community"]:
|
||||
label.set_markup(f"""<big><b>{community["community"]["title"]}</b></big> <small>!{community["community"]["name"]}@{community["community"]["actor_id"].split("/")[2]}</small>""")
|
||||
else:
|
||||
split = community["community"]["description"]
|
||||
.split("\n")[0]
|
||||
.replace("&", "&")
|
||||
.replace("<", "&what;")
|
||||
.replace(">", "&what;")
|
||||
split = community["community"]["description"].split("\n")[0].replace("&", "&").replace("<", "&what;").replace(">", "&what;")
|
||||
label.set_markup(f"""<big><b>{community["community"]["title"]}</b></big> <small>!{community["community"]["name"]}@{community["community"]["actor_id"].split("/")[2]}</small>
|
||||
{split}""")
|
||||
|
||||
|
Reference in New Issue
Block a user