Skip to:
Content

BuddyPress.org

Opened 13 years ago

Closed 12 years ago

#5005 closed defect (bug) (fixed)

Line breaks do not appear in multi-line text box

Reported by: jdhall1972 Owned by:
Priority: normal Milestone: 2.0
Component: Extended Profile Version: 1.7
Severity: normal 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
13 years ago

  • Component CoreXProfile
  • Keywords needs-patch added
  • Milestone Awaiting Review1.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
13 years ago

  • Milestone 1.9Future Release

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

#3 @boonebgorges
12 years ago

  • Milestone Future Release2.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
12 years ago

  • Keywords needs-patch removed
  • Milestone 2.12.0
  • Resolutionfixed
  • Status newclosed

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.