[development] Full HTML output in profile fields of type textarea

Jon Antoine antoinesolutions at gmail.com
Mon Sep 8 14:32:21 UTC 2008


Hi Pedro,

Thank for the advice, but profile fields don't allow you to select a
filter to use.  It is hard coded, hence why I had to modify the code.

-- 
Cheers,

Jon Antoine
www.antoinesolutions.com

On Sun, Sep 7, 2008 at 5:58 AM, Pedro Faria <predofaria at gmail.com> wrote:
> hi,
>
> you can create your own filter...
>
> cya,
>
>
> Pedro Faria.
>
> On Fri, 2008-09-05 at 23:27 -0700, Jon Antoine wrote:
>> Hi all,
>>
>> I am trying to crate profile fields that allow full HTML output.  I
>> have struggled with this for a long time and finally came up with a
>> solution I am not happy with.  After tracking it down, I found on line
>> 560 in the profile.module file that the field value is being passed
>> through check_markup function which is filtering out a lot of the
>> HTML.  I ended up replacing the check_markup call with a
>> filter_xss_admin call, but I hate that I had to modify core to
>> accomplish this.  Can anyone suggest a better workaround to this
>> problem?  I would greatly appreciate it.
>>
>
>


More information about the development mailing list