Remove useless replace

This commit is contained in:
Butter Cat 2024-05-22 16:34:39 -04:00
parent 50fad938dd
commit 75b0149313
No known key found for this signature in database
GPG Key ID: FF37BE4FDDB74419

View File

@ -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("<p></p>", "")
.to_string()
}
}