public function HtmlEntityDecodeTest::testHtmlEntityDecode in Tamper 8
Test HTML entity decode.
File
- tests/
src/ Unit/ Plugin/ Tamper/ HtmlEntityDecodeTest.php, line 26
Class
- HtmlEntityDecodeTest
- Tests the html entity decode plugin.
Namespace
Drupal\Tests\tamper\Unit\Plugin\TamperCode
public function testHtmlEntityDecode() {
$this
->assertEquals('<html>asdfsadfasf<b>asfasf</b></html>', $this->plugin
->tamper('<html>asdfsadfasf<b>asfasf</b></html>'));
}