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@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.