Opened 19 years ago
Closed 19 years ago
#731 closed defect (bug) (fixed)
Superflous spaces in tags
| Reported by: | goebelmasse | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Front-end | Version: | |
| Severity: | normal | Keywords: | |
| Cc: |
Description
When posting a new topic, the tags are separated by commas. But most people do add a space after the comma, and this space is part of the displayed tag. The tags are stored with leading spaces in bbpress_tags.raw_tag.
This causes a little problem in the display of the tag lists. The link of the tag has a leading space, which make a little identation and looks funny when underlining links.
Suggested solution: strip() the raw_tag before storing it to the database to remove trailing and leading whitespace.
bbPress Plugin - Strip Tags Spaces