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

Search Result Summary Text Formatting #933

Closed
dirkzwart opened this issue Apr 8, 2021 · 4 comments
Closed

Search Result Summary Text Formatting #933

dirkzwart opened this issue Apr 8, 2021 · 4 comments
Labels
v4 version 4

Comments

@dirkzwart
Copy link

Version used
4.1.0

Describe the bug
Selected Property - HitHighlightedSummary is displaying a summary of the file content with the search terms highlighted, but is placing a carriage return before and after each highlighted word. The search term I used was "ballot audit," and this is how the document summary is displayed:
The system
audit
log shall contain sufficient information to allow the auditing of all operations related to
ballot
tabulation, results consolidation, and report …

Expected behavior
No carriage returns before and after the highlighted search terms. (i.e. The system audit log shall contain sufficient information to allow the auditing of all operations related to ballot tabulation, results consolidation, and report …)

Desktop (please complete the following information):
Chrome and EdgeCr on Win10

@wobba wobba added the v4 version 4 label Apr 9, 2021
@wobba
Copy link
Collaborator

wobba commented Apr 9, 2021

Which template are you using to render the results?

@dirkzwart
Copy link
Author

dirkzwart commented Apr 13, 2021 via email

@FranckyC
Copy link
Collaborator

Hi @dirkzwart try to enclose the {{getSummary ...} expression in the template with a <div>. This should fix your issue:

image

FranckyC added a commit that referenced this issue Apr 20, 2021
@FranckyC
Copy link
Collaborator

Will be fixed in next release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
v4 version 4
Projects
None yet
Development

No branches or pull requests

3 participants