Skip to:
Content

BuddyPress.org

Opened 12 years ago

Closed 10 years ago

#5005 closed defect (bug) (fixed)

Line breaks do not appear in multi-line text box

Reported by: jdhall1972's profile jdhall1972 Owned by:
Milestone: 2.0 Priority: normal
Severity: normal Version: 1.7
Component: Extended Profile Keywords:
Cc:

Description

I am using a multi-line text box in an xprofile registration form but line breaks and paragraph breaks don't appear on the profile page. In the source code, the spaces do appear but there is no html code to tell the browser to break lines or paragraphs.

http://missionsfund.com/missions/tylerrae/profile/

Change History (4)

#1 @johnjamesjacoby
11 years ago

  • Component changed from Core to XProfile
  • Keywords needs-patch added
  • Milestone changed from Awaiting Review to 1.9

This comes as a result of filtering everything through 'bp_get_the_profile_field_edit_value', without a discerning the $field->type.

A solution for 1.9 is to create a helper function that checks the $field->type and applies the correct filters.

Since this has been a bug for several releases, I'm moving it into 1.9 to address along with other XProfile enhancements.

#2 @boonebgorges
11 years ago

  • Milestone changed from 1.9 to Future Release

I'm not able to reproduce this in a quick test. Moving out of the milestone pending a patch.

#3 @boonebgorges
11 years ago

  • Milestone changed from Future Release to 2.1

Marked #5593 as duplicate.

I'm moving this into the 2.1 milestone to get more eyes on it. A fix along the lines of what johnjamesjacoby proposes above should be pretty simple to implement.

#4 @DJPaul
10 years ago

  • Keywords needs-patch removed
  • Milestone changed from 2.1 to 2.0
  • Resolution set to fixed
  • Status changed from new to closed

This is working for me in 2.1's trunk; looking at the code, I think it was addressed by the 2.0 Field Types implementation.

Note: See TracTickets for help on using tickets.