diff --git a/server.py b/server.py index 0b408ec..f83bb8c 100644 --- a/server.py +++ b/server.py @@ -64,6 +64,7 @@ def relay(): gemtext = True code = "" for i in received.split("\n"): + i = i.replace("<", "<").replace("<", ">") if firstline: if i.split(" ")[0][0] == "3": return redirect("/gem?gemini=" + i.split(" ")[1][9:])