0
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2024-12-23 17:01:51 +00:00
htmlpurifier/library/HTMLPurifier/Injector.php

23 lines
531 B
PHP
Raw Normal View History

<?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) {}
}
?>