chore: what

This commit is contained in:
mdwalters
2023-07-04 00:59:55 -04:00
parent c2f197f4f1
commit b1948dd116

View File

@@ -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("&", "&amp;").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}""")