1
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2025-08-06 14:16:32 +02:00

Split out tokens to prevent autoload barfing.

git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@1543 48356398-32a2-884e-a903-53898d9a118a
This commit is contained in:
Edward Z. Yang
2008-02-10 22:38:53 +00:00
parent 6eb193a316
commit 0eadf98ee2
7 changed files with 124 additions and 124 deletions

View File

@@ -0,0 +1,19 @@
<?php
/**
* Concrete comment token class. Generally will be ignored.
*/
class HTMLPurifier_Token_Comment extends HTMLPurifier_Token
{
public $data; /**< Character data within comment. */
/**
* Transparent constructor.
*
* @param $data String comment data.
*/
public function __construct($data, $line = null) {
$this->data = $data;
$this->line = $line;
}
}