Skip to content

Commit

Permalink
🤔
Browse files Browse the repository at this point in the history
  • Loading branch information
xemlock committed Dec 10, 2019
1 parent 7f905f6 commit bdd9ff2
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions tests/HTMLPurifier/HTMLModule/HTML5/HypertextTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,21 +66,4 @@ public function testAnchor($input, $expected = null)
$this->assertPurification($input, $expected);
}

/**
* @see https://github.com/xemlock/htmlpurifier-html5/issues/51
*/
public function testTableInAnchor()
{
$this->config->autoFinalize = false;

$this->assertPurification(
'<a><table><tr><td>Foo</td></tr></table></a>',
'<a></a><table><tr><td>Foo</td></tr></table>'
);

$this->config->set('Core.LexerImpl', 'DirectLex');
$this->assertPurification(
'<a><table><tr><td>Foo</td></tr></table></a>'
);
}
}

0 comments on commit bdd9ff2

Please sign in to comment.