-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
EZP-29027: Added support for conversion of ezxmltest tag <literal> (#71)
* Added support for <literal> in ezxmltext to docbook xslt * Added support for custom attribute language when converting <literal> * Bump kernel requirement to 6.13.6-dev || 7.2.5-dev
- Loading branch information
Showing
8 changed files
with
70 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +0,0 @@ | ||
error:Only literal tag with class="html" supported at the moment. Tag with different class removed where contentobject_attribute.id= | ||
error:Only literal tag with class="html" supported at the moment. Tag with different class removed where contentobject_attribute.id= | ||
error:Only literal tag with class="html" supported at the moment. Tag with different class removed where contentobject_attribute.id= | ||
error:Only literal tag with class="html" supported at the moment. Tag with different class removed where contentobject_attribute.id= | ||
17 changes: 16 additions & 1 deletion
17
tests/lib/FieldType/Converter/_fixtures/richtext/output/150-literal.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,20 @@ | ||
<section xmlns="http://docbook.org/ns/docbook" 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"> | ||
<para>next one</para> | ||
<programlisting><![CDATA[Literal with CNAME end sequence here : ]]]]><![CDATA[> and some more text here]]></programlisting> | ||
<programlisting><![CDATA[ordinary literal]]></programlisting> | ||
<programlisting><![CDATA[more | ||
complicated | ||
literal | ||
tag]]></programlisting> | ||
<para>the php one:</para> | ||
<programlisting ezxhtml:class="php"><![CDATA[function foobar() | ||
{ | ||
thisIsSomePHPCode('string with special characters & < > â'); | ||
return 0; | ||
}]]></programlisting> | ||
<para>the php one with language attribute:</para> | ||
<programlisting language="php" ezxhtml:class="red">function foobar() | ||
{ | ||
thisIsSomePHPCode(); | ||
return 0; | ||
}</programlisting> | ||
</section> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters