diff --git a/tests/GenericBlocksTest.php b/tests/GenericBlocksTest.php index 43cd151..03114ba 100644 --- a/tests/GenericBlocksTest.php +++ b/tests/GenericBlocksTest.php @@ -44,4 +44,20 @@ this is a paragraph [$source, $result] = createTest($source, $target); $this->assertEquals($source, $result); } + + public function testParagraphAnnotations() : void { + $source = " + +this is an annotated paragraph {.classA, .classB} + + "; + $target = " +

+ this is an annotated paragraph {.classA, .classB} +

+ "; + + [$source, $result] = createTest($source, $target); + $this->assertEquals($source, $result); + } } \ No newline at end of file