From 0c7eab0deff8e1777a41f808aef5947a6daebc21 Mon Sep 17 00:00:00 2001 From: justcool393 Date: Fri, 11 Nov 2022 03:28:42 -0600 Subject: [PATCH] :pepodrool: --- files/routes/posts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/posts.py b/files/routes/posts.py index 0f3aa3078..fbb8aaa53 100644 --- a/files/routes/posts.py +++ b/files/routes/posts.py @@ -1080,7 +1080,7 @@ def get_post_title(v): if not content_type or "text/html" not in content_type: abort(400) # no you can't just parse html with reeeeeeeegex - match = html_title_regex.match(x.content) + match = html_title_regex.match(x.text) if match and match.lastindex >= 1: title = match.group(1)