diff --git a/src/main.py b/src/main.py index 6f92f59..ffd0f6f 100644 --- a/src/main.py +++ b/src/main.py @@ -140,11 +140,7 @@ class LemonadeWindow(Gtk.ApplicationWindow): if not "description" in community["community"]: label.set_markup(f"""{community["community"]["title"]} !{community["community"]["name"]}@{community["community"]["actor_id"].split("/")[2]}""") 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"""{community["community"]["title"]} !{community["community"]["name"]}@{community["community"]["actor_id"].split("/")[2]} {split}""")