Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I want to add line break in description field.
Have tried p, br/, b, but none seem to work.
Comment | File | Size | Author |
---|---|---|---|
#10 | autoassignrole-1855766-10.patch | 3.7 KB | mike.davis |
#9 | autoassignrole-1855766-9.patch | 3.7 KB | mike.davis |
#7 | autoassignrole-1855766-7.patch | 2.38 KB | mike.davis |
#5 | autoassignrole-1855766-5.patch | 2.4 KB | mike.davis |
#4 | autoassignrole-1855766.patch | 749 bytes | mike.davis |
Comments
Comment #1
aze2010 CreditAttribution: aze2010 commentedsubscribing.
how can we get HTML to work in it?
Your help is much appreciated.
Many regards
Alex
Comment #2
DamienMcKennaSounds like a bug.
Comment #3
pbeakley CreditAttribution: pbeakley commentedYes please! I've got all kinds of explanation for that field but...no HTML. :-/
Comment #3.0
pbeakley CreditAttribution: pbeakley commentedI added < > so the code was not showing on this page
Comment #4
mike.davis CreditAttribution: mike.davis commentedLooking 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.
Comment #5
mike.davis CreditAttribution: mike.davis commentedHaving 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.
Comment #7
mike.davis CreditAttribution: mike.davis commentedRerolled patch
Comment #9
mike.davis CreditAttribution: mike.davis commentedFixed tests with changes to the user description field
Comment #10
mike.davis CreditAttribution: mike.davis commentedUpdated patch for latest changes to 7.x-1.x branch
Comment #11
mike.davis CreditAttribution: mike.davis commentedComment #12
mike.davis CreditAttribution: mike.davis commentedupdated status
Comment #14
mike.davis CreditAttribution: mike.davis commentedThis has been committed now.