mirror of
https://github.com/redlib-org/redlib.git
synced 2024-12-06 19:27:17 +01:00
Remove useless replace
This commit is contained in:
@@ -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()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user