diff --git a/files/routes/posts.py b/files/routes/posts.py index 9d118fdc2f..b50cdc83b7 100644 --- a/files/routes/posts.py +++ b/files/routes/posts.py @@ -1057,10 +1057,10 @@ def submit_post(v): url_regex = '(.+)<\/a>' for url_match in re.finditer(url_regex, new_post.body_html): - href = url_match.group(3) + href = url_match.group(1) if not href: continue - title = url_match.group(5) + title = url_match.group(2) if "Snapshots:\n\n" not in body: body += "Snapshots:\n\n" if f'**[{title}]({href})**:\n\n' not in body: diff --git a/files/templates/default.html b/files/templates/default.html index b83a0e5dce..73109ff078 100644 --- a/files/templates/default.html +++ b/files/templates/default.html @@ -218,7 +218,7 @@ {% if SITE_NAME == 'Drama' %} - site banner + site banner {% else %} diff --git a/files/templates/sidebar_Drama.html b/files/templates/sidebar_Drama.html index ed3903daf9..6ec66f7be0 100644 --- a/files/templates/sidebar_Drama.html +++ b/files/templates/sidebar_Drama.html @@ -1,6 +1,6 @@