SomeoneS
SomeoneS

Reputation: 1279

Htmlpurifier - allow textarea

How to enable textarea tags in HTMLPurifier?

I tried with:

  $config->set('HTML.Allowed', 'textarea');

But it doesnt work. How to solve this problem?

Upvotes: 0

Views: 275

Answers (1)

Edward Z. Yang
Edward Z. Yang

Reputation: 26762

textarea is not supported unless you load the Forms module. This module gets loaded if you turn on %HTML.Trusted, but this directive also turns on JavaScript and should only be used for trusted users.

Upvotes: 2

Related Questions