Purifier config

36 views
Skip to first unread message

Florian.K

unread,
May 27, 2021, 9:07:00 AM5/27/21
to htmlpurifier

Hello

We use the htmlpurifier in one of our projects.

To gain better performance we only want to escape script tags and java script functions.

We already went through your documentation but every time we send a string with an “&” into your purifier it always returns “&”.

Is there any solution to disable this function? Or maybe there's a way to mask characters which shouldn't be replaced.

Can you please show me an example?

Thanks and best regards.
Florian

Edward Z. Yang

unread,
Jun 7, 2021, 8:22:44 PM6/7/21
to Florian.K, htmlpurifier
This is not possible with HTML Purifier

Excerpts from Florian.K's message of 2021-05-27 06:07:00 -0700:
Reply all
Reply to author
Forward
0 new messages