From bugzilla-daemon@bugs.koha-community.org Fri Aug 28 22:02:51 2026 From: bugzilla-daemon@bugs.koha-community.org To: koha-bugs@lists.koha-community.org Subject: [Koha-bugs] [Bug 8937] Translation process removes CDATA in RSS XML Date: Fri, 28 Aug 2026 22:02:49 +0000 Message-ID: In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0752467884433743606==" --===============0752467884433743606== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8937 --- Comment #21 from Hammat wele --- 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 () are only preserved only for the 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. --===============0752467884433743606==--