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

Hammat wele <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #194708|0                           |1
        is obsolete|                            |

--- Comment #14 from Hammat wele <[email protected]> ---
Created attachment 194718
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=194718&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

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to