I want to add line break in description field.
Have tried p, br/, b, but none seem to work.

Comments

aze2010’s picture

subscribing.

how can we get HTML to work in it?

Your help is much appreciated.

Many regards
Alex

damienmckenna’s picture

Category: support » bug

Sounds like a bug.

pbeakley’s picture

Yes please! I've got all kinds of explanation for that field but...no HTML. :-/

pbeakley’s picture

Issue summary: View changes

I added < > so the code was not showing on this page

mike.davis’s picture

Issue summary: View changes
Status: Active » Needs review
StatusFileSize
new749 bytes

Looking at this module, the rendering of the description is being filtered by filter_xss. Changing this to filter_xss_admin allows further HTML tags to allow you to add p, br etc tags.

mike.davis’s picture

StatusFileSize
new2.4 KB

Having had a look at the D6 version, I have updated this patch to include the setting of the description field to be a text_format field so that admins can use a wysiwyg editor if one is installed.

Status: Needs review » Needs work

The last submitted patch, 5: autoassignrole-1855766-5.patch, failed testing.

mike.davis’s picture

Status: Needs work » Needs review
StatusFileSize
new2.38 KB

Rerolled patch

Status: Needs review » Needs work

The last submitted patch, 7: autoassignrole-1855766-7.patch, failed testing.

mike.davis’s picture

Status: Needs work » Needs review
StatusFileSize
new3.7 KB

Fixed tests with changes to the user description field

mike.davis’s picture

StatusFileSize
new3.7 KB

Updated patch for latest changes to 7.x-1.x branch

mike.davis’s picture

Status: Needs review » Needs work
mike.davis’s picture

Status: Needs work » Needs review

updated status

  • mike.davis committed 02e8e57 on 7.x-1.x
    Issue #1855766 by mike.davis: Description field
    
mike.davis’s picture

Status: Needs review » Fixed

This has been committed now.

  • mike.davis committed 6cc4288 on 7.x-1.x
    Issue #1855766 : added install update to update the user description...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.