Hey everyone,
I’ve noticed that my DNN site’s built-in search is showing parts of my HTML and CSS inside the search results — things like
Is there a way to prevent the search indexer from including raw HTML or style content? Ideally, I’d like it to only show the text.
I’ve seen some posts mention “strip HTML before indexing” dont see the setting, but I’d like to confirm the best practice in current DNN versions.
Thanks in advance for any guidance!
— Joseph
Posted By D0rk52 on 11/7/2025 8:08 AM Hey everyone, I’ve noticed that my DNN site’s built-in search is showing parts of my HTML and CSS inside the search results — things like blocks, inline code, and markup from Text/HTML modules. Is there a way to prevent the search indexer from including raw HTML or style content? Ideally, I’d like it to only show the text. I’ve seen some posts mention “strip HTML before indexing” dont see the setting, but I’d like to confirm the best practice in current DNN versions. Thanks in advance for any guidance! — Joseph
I’ve noticed that my DNN site’s built-in search is showing parts of my HTML and CSS inside the search results — things like blocks, inline code, and markup from Text/HTML modules.
From what module does the content you see the HTML of come. BTW IMO it's the modules responsibility to only pass plain text when the search crawler asks for indexable content.
These Forums are for the discussion of the open source CMS DNN platform and ecosystem.
For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:
Awesome! Simply post in the forums using the link below and we'll get you started.