Ticket #5412 (closed defect (bug): fixed)

Opened 4 years ago

Last modified 4 years ago

Trailing comma creates blank tag

Reported by: matt Owned by: ionfish
Priority: normal Milestone: 2.5
Component: Administration Version: 2.3
Severity: normal Keywords: has-patch 2nd-opinion
Cc:

Description

In the tag box, put a trailing comma, like this:

myfirsttag,

It will create a blank tag and attach it to the post.

Expected: tags with nothing but whitespace aren't created.

Attachments

dont_add_blank_tags.patch Download (455 bytes) - added by ionfish 4 years ago.
Trims whitespace and trailing commas.

Change History

ionfish4 years ago

Trims whitespace and trailing commas.

  • Keywords has-patch 2nd-opinion added
  • Owner changed from anonymous to ionfish
  • Status changed from new to assigned
  • Milestone changed from 2.3.2 to 2.4
  • Status changed from assigned to closed
  • Resolution set to fixed

(In [6407]) Don't create empty tags. Fixes #5412 props ionfish

Note: See TracTickets for help on using tickets.