mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2024-11-10 15:48:42 +00:00
c6914dce51
Signed-off-by: Edward Z. Yang <edwardzyang@thewritingpot.com>
21 lines
454 B
PHP
21 lines
454 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, $col = null) {
|
|
$this->data = $data;
|
|
$this->line = $line;
|
|
$this->col = $col;
|
|
}
|
|
}
|
|
|