diff --git a/app/assets/js/scripts/landing.js b/app/assets/js/scripts/landing.js index ff3b0129..d11b1746 100644 --- a/app/assets/js/scripts/landing.js +++ b/app/assets/js/scripts/landing.js @@ -1258,7 +1258,7 @@ function loadNews(){ comments = comments + ' Comment' + (comments === '1' ? '' : 's') // Fix relative links in content. - let content = el.find('content\\:encoded').text() + let content = el.find('description').text() let regex = /src="(?!http:\/\/|https:\/\/)(.+?)"/g let matches while((matches = regex.exec(content))){