From eaab3a2473e7234c4d0a0598feb8958819ffd0a6 Mon Sep 17 00:00:00 2001 From: Nicolas Sylvander Date: Tue, 16 Oct 2018 18:26:16 +0200 Subject: [PATCH 1/2] Added support for linkable embeds in xhtml output --- .../stylesheets/eZXml2Html5_core.xsl | 28 ++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/lib/FieldType/XmlText/Input/Resources/stylesheets/eZXml2Html5_core.xsl b/lib/FieldType/XmlText/Input/Resources/stylesheets/eZXml2Html5_core.xsl index 62a9fab6..e35721de 100644 --- a/lib/FieldType/XmlText/Input/Resources/stylesheets/eZXml2Html5_core.xsl +++ b/lib/FieldType/XmlText/Input/Resources/stylesheets/eZXml2Html5_core.xsl @@ -200,7 +200,33 @@ - + + + + + + + + + + + + _self + + + + + + + + + + + + + + + From ac2d8da0ce635bdd2eb2bd0c41283a8d38f22bac Mon Sep 17 00:00:00 2001 From: Vidar Langseid Date: Fri, 19 Oct 2018 14:12:28 +0200 Subject: [PATCH 2/2] Added html5 output test for linkable embed --- .../_fixtures/html5/input/111-linkembed.xml | 18 ++++++++++++++++++ .../_fixtures/html5/output/111-linkembed.xml | 11 +++++++++++ 2 files changed, 29 insertions(+) create mode 100644 tests/lib/FieldType/Converter/_fixtures/html5/input/111-linkembed.xml create mode 100644 tests/lib/FieldType/Converter/_fixtures/html5/output/111-linkembed.xml diff --git a/tests/lib/FieldType/Converter/_fixtures/html5/input/111-linkembed.xml b/tests/lib/FieldType/Converter/_fixtures/html5/input/111-linkembed.xml new file mode 100644 index 00000000..05887d2f --- /dev/null +++ b/tests/lib/FieldType/Converter/_fixtures/html5/input/111-linkembed.xml @@ -0,0 +1,18 @@ + +
+ + kake + + +
+ my alt text +
+ +]]> + +
diff --git a/tests/lib/FieldType/Converter/_fixtures/html5/output/111-linkembed.xml b/tests/lib/FieldType/Converter/_fixtures/html5/output/111-linkembed.xml new file mode 100644 index 00000000..a1c7a4dd --- /dev/null +++ b/tests/lib/FieldType/Converter/_fixtures/html5/output/111-linkembed.xml @@ -0,0 +1,11 @@ + +
+

kake

+
+ +
+ my alt text +
+
+
+