set('Core', 'EscapeInvalidChildren', true);
$inputs[0] = '';
$expect[0] = '';
$inputs[1] = 'Make well formed.';
$expect[1] = 'Make well formed.';
$inputs[2] = '
Fix nesting.
';
$expect[2] = '';
// behavior may change
$inputs[3] = 'Foreign element removal.';
$expect[3] = '<asdf>Foreign element removal.</asdf>';
$inputs[4] = 'All three.
';
$expect[4] = '<foo>';
$this->assertStrategyWorks($strategy, $inputs, $expect, $config);
}
}
?>