Hi,
I'm not an expert in kses so I would ask you for some help. I need to know how do I have to define the $allowed array before calling kses in order for kses to allow me to have something like:
send <a href="mailto:name@yahoo.com">via email</a>
Using my current $allowed array I now get:
send <a href="name@yahoo.com">via email</a>
Thank you very much for your help...
Regards, gregor
I found the solution myself,
I should have specified 'mailto' in the allowed protocols array (the third argument in the kses function).
Regards, Gregor
Log in to post a comment.
Hi,
I'm not an expert in kses so I would ask you for some help. I need to know how do I have to define the $allowed array before calling kses in order for kses to allow me to have something like:
send <a href="mailto:name@yahoo.com">via email</a>
Using my current $allowed array I now get:
send <a href="name@yahoo.com">via email</a>
Thank you very much for your help...
Regards,
gregor
I found the solution myself,
I should have specified 'mailto' in the allowed protocols array (the third argument in the kses function).
Regards,
Gregor