extends |
HTMLPurifier_TagTransform |
|---|
Simple transformation, just change tag name to something else, and possibly add some styling. This will cover most of the deprecated tag cases.
| Methods | ||||||||
|---|---|---|---|---|---|---|---|---|
public
|
__construct(string $transform_to, string $style = null)
Parameters
|
# | ||||||
public
|
transform(HTMLPurifier_Token_Tag $tag, HTMLPurifier_Config $config, HTMLPurifier_Context $context): string
Transforms the obsolete tag into the valid tag.
Transforms the obsolete tag into the valid tag. Parameters
Implements |
# | ||||||
| Methods inherited from HTMLPurifier_TagTransform |
|---|
prependCSS() |
| Properties | |||
|---|---|---|---|
protected
|
|
$style
|
# |
| Properties inherited from HTMLPurifier_TagTransform |
|---|
$transform_to |