diff --git a/LogBot/logbot.py b/LogBot/logbot.py index 8c8df7b..a56b788 100644 --- a/LogBot/logbot.py +++ b/LogBot/logbot.py @@ -13,7 +13,7 @@ def _href_wrap(post): """Wrap links in a tags as a Jinja template filter.""" for url in re.findall(r"http\S+", post): url_with_href = f"{url}" - post.replace(url, url_with_href) + post = post.replace(url, url_with_href) return post