fecgov / fec-cms

The content management system (CMS) for the new Federal Election Commission website.
https://www.fec.gov
Other
93 stars 38 forks source link

Fix legal document highlights breaking mid-sentence #6304

Open JonellaCulmer opened 4 months ago

JonellaCulmer commented 4 months ago

What we're after

In order to better determine whether a keyword search has matched what is searched, we need to display document highlights properly. This work will be to fix the display of some document highlights where highlights are seemingly breaking across multiple keyword search returns.

Example:

Screenshot 2024-05-29 at 10 30 33 AM Screenshot 2024-05-29 at 10 30 16 AM

Related issues

Completion criteria