diff --git a/events.py b/events.py index cc7fc7c..30264dd 100644 --- a/events.py +++ b/events.py @@ -83,6 +83,9 @@ def update_post(data): return post = data["post"] + post = post.strip().replace("
", "
") + data["post"] = post + post_id = data["post_id"] db.update_quest_post(post_id, post) emit("update_post", data, room=room) diff --git a/templates/quest.html b/templates/quest.html index 9c02e04..d3f9953 100644 --- a/templates/quest.html +++ b/templates/quest.html @@ -3,6 +3,7 @@ {% block head %}