Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 037b043e70
Fetching contributors…

Cannot retrieve contributors at this time

20 lines (15 sloc) 0.687 kB

HTML Purifier for Elgg

This plugin provides alternative support to HTMLawed for filtering user input.
It is supposedly more secure, but also probably slower.

See http://htmlpurifier.org/ for details about configuring HTML Purifier as well as comparisons with other filtering tools.

Customizing the configuration

This plugin ships with the default configuration of HTMLPurifier. If you'd like to customize this configuration in an upgrade-safe way, you can use the provided plugin hook like so:

elgg_register_plugin_hook_handler('config', 'htmlpurifier', 'foo');

function foo($hook, $type, $config) {
    $config->set(...);

    return $config;
}
Jump to Line
Something went wrong with that request. Please try again.