Reverted special char filtering from search engine article detection

pull/400/merge
Kevin Payravi 2024-01-07 04:39:29 -06:00
parent cb93c629ec
commit a7626e014d
1 changed files with 1 additions and 1 deletions

View File

@ -195,7 +195,7 @@ function escapeRegex(string) {
function replaceSearchResults(searchResultContainer, site, link) {
// Build new URL:
let originArticle = decodeURIComponent((link.split(site['origin_base_url'] + site['origin_content_path'])[1] || '').split('#')[0].split('?')[0].split('&')[0]);
let originArticle = decodeURIComponent(link.split(site['origin_base_url'] + site['origin_content_path'])[1] || '');
let destinationArticle = site['destination_content_prefix'] + originArticle;
let newURL = '';
if (originArticle) {