From bugzilla-daemon@bugs.koha-community.org Fri Mar 6 14:21:22 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, 06 Mar 2026 13:21:21 +0000 Message-ID: In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1295660933635791215==" --===============1295660933635791215== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8937 Hammat wele changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #194708|0 |1 is obsolete| | --- Comment #14 from Hammat wele --- 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 () 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 -- You are receiving this mail because: You are watching all bug changes. --===============1295660933635791215==--