diff --git a/lib/FieldType/XmlText/Input/Resources/stylesheets/eZXml2Docbook_core.xsl b/lib/FieldType/XmlText/Input/Resources/stylesheets/eZXml2Docbook_core.xsl index 2b0d0e87..9e8c1aa9 100644 --- a/lib/FieldType/XmlText/Input/Resources/stylesheets/eZXml2Docbook_core.xsl +++ b/lib/FieldType/XmlText/Input/Resources/stylesheets/eZXml2Docbook_core.xsl @@ -65,11 +65,9 @@ - - - - - + + + diff --git a/tests/lib/FieldType/Converter/Xslt/_fixtures/docbook/024-template.xml b/tests/lib/FieldType/Converter/Xslt/_fixtures/docbook/024-template.xml index 03003f64..ae61bb0d 100644 --- a/tests/lib/FieldType/Converter/Xslt/_fixtures/docbook/024-template.xml +++ b/tests/lib/FieldType/Converter/Xslt/_fixtures/docbook/024-template.xml @@ -36,6 +36,7 @@ + http://upload.wikimedia.org/wikipedia/commons/c/c6/R-S_mk2.gif 365 @@ -47,6 +48,11 @@ It is widely known that the bistable multivibrator hums z's in the middle octave key of E. - - + + + + + + + diff --git a/tests/lib/FieldType/Converter/_fixtures/richtext/input/161-eztemplate-no-content.xml b/tests/lib/FieldType/Converter/_fixtures/richtext/input/161-eztemplate-no-content.xml new file mode 100644 index 00000000..95c8c7df --- /dev/null +++ b/tests/lib/FieldType/Converter/_fixtures/richtext/input/161-eztemplate-no-content.xml @@ -0,0 +1,13 @@ + +
+
+ +
+ + + + +
diff --git a/tests/lib/FieldType/Converter/_fixtures/richtext/log/161-eztemplate-no-content.log b/tests/lib/FieldType/Converter/_fixtures/richtext/log/161-eztemplate-no-content.log new file mode 100644 index 00000000..c7b29a34 --- /dev/null +++ b/tests/lib/FieldType/Converter/_fixtures/richtext/log/161-eztemplate-no-content.log @@ -0,0 +1 @@ +warning:Custom tag 'linebreak' converted to block custom tag. It might have been inline custom tag in legacy DB where contentobject_attribute.id= diff --git a/tests/lib/FieldType/Converter/_fixtures/richtext/output/160-eztemplate.xml b/tests/lib/FieldType/Converter/_fixtures/richtext/output/160-eztemplate.xml index 2d07d36d..b35ff49e 100644 --- a/tests/lib/FieldType/Converter/_fixtures/richtext/output/160-eztemplate.xml +++ b/tests/lib/FieldType/Converter/_fixtures/richtext/output/160-eztemplate.xml @@ -3,7 +3,9 @@ xmlns:ezcustom="http://ez.no/xmlns/ezpublish/docbook/custom" xmlns:ezxhtml="http://ez.no/xmlns/ezpublish/docbook/xhtml" xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0-variant ezpublish-1.0"> - + + + custom tag content diff --git a/tests/lib/FieldType/Converter/_fixtures/richtext/output/161-eztemplate-no-content.xml b/tests/lib/FieldType/Converter/_fixtures/richtext/output/161-eztemplate-no-content.xml new file mode 100644 index 00000000..7520ff7f --- /dev/null +++ b/tests/lib/FieldType/Converter/_fixtures/richtext/output/161-eztemplate-no-content.xml @@ -0,0 +1,16 @@ +
+ + + + + + + foobar + + +
+