Skip to content

feat(search): Drop HTML tags from search result - #1020

Merged
imfing merged 1 commit into
imfing:mainfrom
bombsimon:feat/drop-html-tags-from-search
Aug 7, 2026
Merged

feat(search): Drop HTML tags from search result#1020
imfing merged 1 commit into
imfing:mainfrom
bombsimon:feat/drop-html-tags-from-search

Conversation

@bombsimon

Copy link
Copy Markdown
Contributor

Fixes #1019

As written in the issue, one alternative is to make this an opt-in if it's consider a breaking change or non sensible default. Since I suspect it isn't necessarily a deliberate feature to show the tags in the search result initially I opted to always drop them.

Let me know if you want me to put it behind config (default off) or just close out the PR (and issue) if this isn't wanted.

@netlify

netlify Bot commented Aug 7, 2026

Copy link
Copy Markdown

Deploy Preview for hugo-hextra ready!

Name Link
🔨 Latest commit 2e8e703
🔍 Latest deploy log https://app.netlify.com/projects/hugo-hextra/deploys/6a7655c90ec30200082a4b56
😎 Deploy Preview https://deploy-preview-1020--hugo-hextra.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@imfing imfing left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, stripping tags is a sensible default

@imfing
imfing merged commit 38d18a5 into imfing:main Aug 7, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Drop HTML tags from search result

2 participants