diff --git a/Composite/Search/Crawling/XhtmlCrawlingHelper.cs b/Composite/Search/Crawling/XhtmlCrawlingHelper.cs index cc9d9fc778..c0094d25d4 100644 --- a/Composite/Search/Crawling/XhtmlCrawlingHelper.cs +++ b/Composite/Search/Crawling/XhtmlCrawlingHelper.cs @@ -77,6 +77,11 @@ private void ProcessElement(XElement element) return; } + if (element.Name.LocalName == "script" || element.Name.LocalName == "noscript") + { + return; + } + if (element.Name.LocalName == "a") { // TODO: process "href" attribute for page/data references