diff --git a/content-banners.js b/content-banners.js index 6e84d7e..52b7972 100644 --- a/content-banners.js +++ b/content-banners.js @@ -278,7 +278,8 @@ function main() { searchParams = 'start?do=search&q=' + article; break; } - newURL = 'https://' + site["destination_base_url"] + site["destination_content_path"] + searchParams; + newURL = 'https://' + site["destination_base_url"] + site["destination_content_path"] + searchParams.replaceAll('+', '_'); + // We replace plus signs with underscores since Fextralife uses pluses instead of spaces/underscores } else { newURL = 'https://' + site["destination_base_url"]; }