mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2025-07-31 19:30:21 +02:00
Added %Core.RemoveProcessingInstructions.
Signed-off-by: Edward Z. Yang <ezyang@mit.edu>
This commit is contained in:
@@ -717,6 +717,14 @@ div {}
|
||||
);
|
||||
}
|
||||
|
||||
function test_tokenizeHTML_removeProcessingInstruction() {
|
||||
$this->config->set('Core.RemoveProcessingInstructions', true);
|
||||
$this->assertTokenization(
|
||||
'<?xml blah blah ?>',
|
||||
array()
|
||||
);
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
function test_tokenizeHTML_() {
|
||||
|
Reference in New Issue
Block a user