mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2025-07-31 19:30:21 +02:00
Make the Token class abstract.
Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
/**
|
||||
* Abstract base token class that all others inherit from.
|
||||
*/
|
||||
class HTMLPurifier_Token
|
||||
abstract class HTMLPurifier_Token
|
||||
{
|
||||
/**
|
||||
* Line number node was on in source document. Null if unknown.
|
||||
|
@@ -3,7 +3,7 @@
|
||||
/**
|
||||
* Abstract class of a tag token (start, end or empty), and its behavior.
|
||||
*/
|
||||
class HTMLPurifier_Token_Tag extends HTMLPurifier_Token
|
||||
abstract class HTMLPurifier_Token_Tag extends HTMLPurifier_Token
|
||||
{
|
||||
/**
|
||||
* Static bool marker that indicates the class is a tag.
|
||||
|
Reference in New Issue
Block a user