mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2025-08-07 22:56:32 +02:00
Implement "carryover" functionality, requested by Kinderlehrer <bitweaver@7doves.com>
This commit is a limited implementation of the "active formatting elements" algorithm implemented in HTML5, which preserves certain formatting elements such as <a> and <b> when exiting or entering nodes. Signed-off-by: Edward Z. Yang <edwardzyang@thewritingpot.com>
This commit is contained in:
@@ -6,8 +6,8 @@
|
||||
class HTMLPurifier_Harness extends UnitTestCase
|
||||
{
|
||||
|
||||
public function __construct() {
|
||||
parent::__construct();
|
||||
public function __construct($name = null) {
|
||||
parent::__construct($name);
|
||||
}
|
||||
|
||||
protected $config, $context, $purifier;
|
||||
|
Reference in New Issue
Block a user