diff --git a/eZ/Publish/Core/FieldType/RichText/Resources/schemas/docbook/ezpublish.rng b/eZ/Publish/Core/FieldType/RichText/Resources/schemas/docbook/ezpublish.rng index 89dfddfcb6b..a107d59f598 100644 --- a/eZ/Publish/Core/FieldType/RichText/Resources/schemas/docbook/ezpublish.rng +++ b/eZ/Publish/Core/FieldType/RichText/Resources/schemas/docbook/ezpublish.rng @@ -22,6 +22,36 @@ + + + + Needed by the LIBXML engine to allow for multiple title elements on the same level below blockquote + + + + + + + + + + + + + + + + + + + + + + + + + + A list in which each entry is marked with a sequentially incremented label diff --git a/eZ/Publish/Core/FieldType/Tests/RichText/Validator/DocbookTest.php b/eZ/Publish/Core/FieldType/Tests/RichText/Validator/DocbookTest.php index 83d426ccc4c..a96035d9f5b 100644 --- a/eZ/Publish/Core/FieldType/Tests/RichText/Validator/DocbookTest.php +++ b/eZ/Publish/Core/FieldType/Tests/RichText/Validator/DocbookTest.php @@ -57,6 +57,63 @@ public function providerForTestValidate() ', array(), ), + array( + ' +
+
+ Some comments to people\'s comments! +
+
+ Header level 3 + Header level 4 + foobar quotehttp://ez.no for more info. +
+
+', + array(), + ), + array( + ' +
+ test + 1 + bold + italic + underline superscript + link + strikedthrough + + +
', + array(), + ), + array( + ' +
+ test + 1 + bold + italic + underline subscript + link + strikedthrough + + +
', + array(), + ), ); }