From 75b01493133af11fb317c09bd56ca4ca757ca4cc Mon Sep 17 00:00:00 2001 From: Butter Cat Date: Wed, 22 May 2024 16:34:39 -0400 Subject: [PATCH] Remove useless replace --- src/utils.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/utils.rs b/src/utils.rs index a0cdbe8..e08e09d 100644 --- a/src/utils.rs +++ b/src/utils.rs @@ -932,7 +932,6 @@ pub fn rewrite_urls(input_text: &str) -> String { text1 = REDDIT_PREVIEW_REGEX .replace(&text1, "/preview/pre$2") .replace(&image_to_replace, &_image_replacement) - .replace("

", "") .to_string() } }