mirror of
https://github.com/redlib-org/redlib.git
synced 2025-04-22 23:09:14 +00:00
Remove useless replace
This commit is contained in:
parent
50fad938dd
commit
75b0149313
1 changed files with 0 additions and 1 deletions
|
@ -932,7 +932,6 @@ pub fn rewrite_urls(input_text: &str) -> String {
|
||||||
text1 = REDDIT_PREVIEW_REGEX
|
text1 = REDDIT_PREVIEW_REGEX
|
||||||
.replace(&text1, "/preview/pre$2")
|
.replace(&text1, "/preview/pre$2")
|
||||||
.replace(&image_to_replace, &_image_replacement)
|
.replace(&image_to_replace, &_image_replacement)
|
||||||
.replace("<p></p>", "")
|
|
||||||
.to_string()
|
.to_string()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue