mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2024-11-08 23:08:42 +00:00
0eadf98ee2
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@1543 48356398-32a2-884e-a903-53898d9a118a
20 lines
413 B
PHP
20 lines
413 B
PHP
<?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;
|
|
}
|
|
}
|
|
|