Opened 9 years ago
Closed 9 years ago
#33881 closed defect (bug) (fixed)
Tags auto-suggest: double trailing space after tags separator
Reported by: | afercia | Owned by: | afercia |
---|---|---|---|
Milestone: | 4.4 | Priority: | normal |
Severity: | normal | Version: | 4.2 |
Component: | Administration | Keywords: | has-patch commit |
Focuses: | ui, javascript | Cc: |
Description
To reproduce, let's first check where it works correctly:
- go in the Posts screen and Quick Edit a post
- in the Tags textarea, type something to make the suggestions "tooltip" appear
- click on a suggestion
- the new Tag is inserted in the textarea followed by the default tag separator (comma) and just one space
Do the same thing in:
- Edit a post > the Tags postbox
- in Press This, in the Tags sidebar
here, the new tag is followed by a comma and two spaces.
Looks like suggest.js
already takes care to add a trailing space, thus the trailing space in tags-box.js at line 180 maybe should be removed. Unless I'm missing something :)
Attachments (1)
Change History (6)
Note: See
TracTickets for help on using
tickets.
Quick patch, looks good to me.