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 | 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.
Change History (4)
#1
@
11 years ago
- Component changed from Core to XProfile
- Keywords needs-patch added
- Milestone changed from Awaiting Review to 1.9
#2
@
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.
Note: See
TracTickets for help on using
tickets.
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.