diff --git a/tests/integration/SanitizerTest.php b/tests/integration/SanitizerTest.php index 1981079f0..421d046af 100644 --- a/tests/integration/SanitizerTest.php +++ b/tests/integration/SanitizerTest.php @@ -9,5 +9,12 @@ final class SanitizerTest extends TestCase { Sanitizer::sanitize('

中文

') ); } + + public function test_sanitize_keep_figure(): void { + $this->assertEquals( + '
Content
', + Sanitizer::sanitize('
Content
') + ); + } }