https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8937

--- Comment #21 from Hammat wele <[email protected]> ---
Created attachment 204510
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=204510&action=edit
Bug 8937: Translation process removes CDATA in RSS XML

During template translation, CDATA sections in RSS templates are not handled
consistently.
When parsing RSS content containing Template Toolkit directives inside CDATA
blocks, the CDATA markers (<![CDATA[ ... ]]>) are only preserved only for the
<title> tag.

To reproduce

1. Install the other language (i used fr-CA here)
    1.1. gulp po:update fr-CA
    1.2. /misc/translator/translate install fr-CA
2. open and compare files that contain <![CDATA in description example:
    ./koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-opensearch.tt
    ./koha-tmpl/opac-tmpl/bootstrap/fr-CA/modules/opac-opensearch.tt
3. In the fr-CA file the description tag
    ==> the <![CDATA is removed
3. Apply the patch
4. Repeat step 1.2, 2 and 3
    ==> the <![CDATA is not removed
5. prove xt/author/tt_valid.t should pass.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to