Skip to content

Conversation

@noeddl
Copy link
Contributor

@noeddl noeddl commented Sep 23, 2025

This PR demonstrates some ideas for improving the presentation of search results:

  • Use a delimiter ([...]) to make the boundaries between text snippets clearer
  • Properly render HTML entities (e.g., "")
  • Treat clusters of whitespace (including multiple line breaks) as boundaries for references to reduce noise and avoid confusion caused by whitespace collapsing into a single space
  • Remove duplicate or near-duplicate references

Before:
Bildschirmfoto vom 2025-09-23 15-15-07

After:
Bildschirmfoto vom 2025-09-23 15-15-47

This is open for discussion. At the moment, I’ve hacked it directly into froide for demonstration purposes, but it would likely be better to implement it in a way that allows configuration from the main project.

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.

2 participants