diff --git a/tests/HTMLawedTest.php b/tests/HTMLawedTest.php index 3b67e1c..094d11a 100644 --- a/tests/HTMLawedTest.php +++ b/tests/HTMLawedTest.php @@ -34,4 +34,12 @@ public function testImgSrcsetAttribute($input, $expectedOutput = null) $this->assertSame($expectedOutput ?: $input, $output); } + + public function testPictureBlocks() + { + $input = '
image
'; + + $output = htmLawed($input); + $this->assertSame($input, $output); + } }