1
0
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:
Edward Z. Yang
2010-06-20 18:26:44 -07:00
parent 33afd7d9e0
commit 1bed8b6d5f
6 changed files with 34 additions and 3 deletions

View File

@@ -717,6 +717,14 @@ div {}
);
}
function test_tokenizeHTML_removeProcessingInstruction() {
$this->config->set('Core.RemoveProcessingInstructions', true);
$this->assertTokenization(
'<?xml blah blah ?>',
array()
);
}
/*
function test_tokenizeHTML_() {