Problem/Motivation

When autocomplete suggestions are rendered spaces appear between the user input and suggestions prefix/suffix.

Proposed resolution

Surrounding the twig template with {% spaceless %} ... {% endspaceless %} will resolve this.

Remaining tasks

Review and commit.

User interface changes

API changes

Data model changes

CommentFileSizeAuthor
#2 2824334-2.patch1.61 KBjofitz

Comments

Jo Fitzgerald created an issue. See original summary.

jofitz’s picture

Assigned: jofitz » Unassigned
Issue summary: View changes
Status: Active » Needs review
StatusFileSize
new1.61 KB

Surrounded the autocomplete suggestions twig template with {% spaceless %} ... {% endspaceless %}

ressa’s picture

Status: Needs review » Reviewed & tested by the community

I can confirm that this patch fixes the spacing issue.

iamdroid’s picture

#2 Works forks me. Thank You.

drunken monkey’s picture

Status: Reviewed & tested by the community » Fixed

Looks good, thanks!
Committed.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.