[Bb-trac] [bbPress] #731: Superflous spaces in tags

bbPress bb-trac at lists.bbpress.org
Mon Aug 20 15:15:26 GMT 2007


#731: Superflous spaces in tags
-------------------------+--------------------------------------------------
 Reporter:  goebelmasse  |       Owner:     
     Type:  defect       |      Status:  new
 Priority:  normal       |   Milestone:     
Component:  Front-end    |     Version:     
 Severity:  normal       |    Keywords:     
-------------------------+--------------------------------------------------
 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.

-- 
Ticket URL: <http://trac.bbpress.org/ticket/731>
bbPress <http://bbpress.org/>
Innovative forum development


More information about the Bb-trac mailing list