render media list
This commit is contained in:
@@ -67,7 +67,7 @@ impl MediaExtractor {
|
||||
|
||||
// Remove multiple consecutive spaces
|
||||
let re = Regex::new(r"\s+").unwrap();
|
||||
re.replace_all(text, " ").to_string()
|
||||
re.replace_all(text, " ").trim().to_string()
|
||||
}
|
||||
|
||||
/// Validates if a URL is a valid media URL
|
||||
|
||||
Reference in New Issue
Block a user