chore: what
This commit is contained in:
@@ -95,7 +95,7 @@ class LemonadeWindow(Gtk.ApplicationWindow):
|
|||||||
if not "description" in community["community"]:
|
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>""")
|
label.set_markup(f"""<big><b>{community["community"]["title"]}</b></big> <small>!{community["community"]["name"]}@{community["community"]["actor_id"].split("/")[2]}</small>""")
|
||||||
else:
|
else:
|
||||||
split = community["community"]["description"].split("\n")[0]
|
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>
|
label.set_markup(f"""<big><b>{community["community"]["title"]}</b></big> <small>!{community["community"]["name"]}@{community["community"]["actor_id"].split("/")[2]}</small>
|
||||||
{split}""")
|
{split}""")
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user