0
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2024-09-20 11:15:18 +00:00
htmlpurifier/library/HTMLPurifier/Injector.php
2007-06-23 18:50:41 +00:00

23 lines
531 B
PHP

<?php
/**
* Injects tokens into the document while parsing for well-formedness.
* This enables "formatter-like" functionality such as auto-paragraphing,
* smiley-ification and linkification to take place.
*/
class HTMLPurifier_Injector
{
/**
* Handler that is called when a text token is processed
*/
function handleText(&$token, $config, &$context) {}
/**
* Handler that is called when a start token is processed
*/
function handleStart(&$token, $config, &$context) {}
}
?>