Skip to:

Opened 14 years ago

Closed 14 years ago

#1604 closed defect (bug) (fixed)

Empty space in the end of a status update

Reported by: ezd's profile Ezd Owned by:
Milestone: 1.2 Priority: minor
Severity: Version:
Component: Keywords: has-patch
Cc: jeff@…


See attached screenshot.

When you post an update your message gets put between "..." marks. But there's an empty space just in before the last " mark. See screenshot.

Attachments (2)

statusupdate.jpg (183.9 KB) - added by Ezd 14 years ago.
trailing-whitespace.patch (767 bytes) - added by jivany 14 years ago.
Use chop() to remove the trailing whitespace

Download all attachments as: .zip

Change History (4)

14 years ago

14 years ago

Use chop() to remove the trailing whitespace

#1 @jivany
14 years ago

  • Cc jeff@… added
  • Keywords has-patch added

Attached a quick fix in bp-activity-templatetags.php to use chop to remove the trailing white space on the latest_update. I looked initially at bp_create_excerpt() but it doesn't seem to be adding the trailing white space.

#2 @apeatling
14 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [2361]) Fixes #1604 - trailing whitespace on latest update. Props jivany.

Note: See TracTickets for help on using tickets.