mirror of
https://github.com/redlib-org/redlib.git
synced 2025-04-03 04:57:38 +03:00
Fix failing checks
This commit is contained in:
parent
ccfe7d0eeb
commit
99048c4683
1 changed files with 1 additions and 1 deletions
|
@ -895,7 +895,7 @@ pub fn rewrite_urls(input_text: &str) -> String {
|
|||
|
||||
// Rewrite external media previews to Redlib
|
||||
loop {
|
||||
if REDDIT_PREVIEW_REGEX.find(&text1).is_none() {
|
||||
if REDDIT_PREVIEW_REGEX.find(&text1).is_none() {
|
||||
return text1;
|
||||
} else {
|
||||
let formatted_url = format_url(REDDIT_PREVIEW_REGEX.find(&text1).map(|x| x.as_str()).unwrap_or_default());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue