Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Text after line-breaks is not searchable #3508

Closed
ssddanbrown opened this issue Jun 17, 2022 · 1 comment
Closed

Text after line-breaks is not searchable #3508

ssddanbrown opened this issue Jun 17, 2022 · 1 comment

Comments

@ssddanbrown
Copy link
Member

Given the content:

<p id="bkmrk-abc">ABC</p>
<p id="bkmrk-def">DEF</p>
<p id="bkmrk-hij">HIJ</p>
<p id="bkmrk-klmnopqrs">KLM<br />NOP<br />QRS</p>

Searching NOP or QRS will not yield results when searched as normal terms.


Confirmed on dev instance, Reported by AutoJunkie on discord.

@ssddanbrown ssddanbrown added this to the Next Feature Release milestone Jun 20, 2022
ssddanbrown added a commit that referenced this issue Jun 20, 2022
Linebreaks would previously essentially be removed during index and
hence joined to adjacent words, breaking prefix matching.
Added test to cover.
For #3508
@ssddanbrown
Copy link
Member Author

Simplistic patch added in 0c6f598, Should handle vast majority of cases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant