From bugzilla-daemon@bugs.koha-community.org Tue Sep 29 09:31:42 2026
From: bugzilla-daemon@bugs.koha-community.org
To: koha-bugs@lists.koha-community.org
Subject: [Koha-bugs] [Bug 43665] New: Fix HTML entities in fields filled by
marc21_linking_section.pl
Date: Tue, 29 Sep 2026 09:31:40 +0000
Message-ID:
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============5046939497786071206=="
--===============5046939497786071206==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=43665
Bug ID: 43665
Summary: Fix HTML entities in fields filled by
marc21_linking_section.pl
Initiative type: ---
Sponsorship ---
status:
Product: Koha
Version: Main
Hardware: All
OS: All
Status: NEW
Severity: minor
Priority: P5 - low
Component: MARC Bibliographic data support
Assignee: koha-bugs@lists.koha-community.org
Reporter: thibaud.guillot@biblibre.com
QA Contact: testopia@bugs.koha-community.org
Target Milestone: ---
Hello,
When selecting a record with the marc21_linking_section.pl plugin,
values copied into the linking field (773$t, $a, $b, $d, $k...) show
literal HTML entities (&, ", ') whenever the source record
contains special characters.
The values were written in a JavaScript string with the "html" filter.
The browser does not decode entities inside a
250 $a 2nd ed. "revised & corrected"
260 $a London : $b Smith's Books & Co, $c 2020
3. Create a second record (the analytical record) and open the plugin
from 773$t.
4. Search "Jerry" and click "Choose" on the host record.
5. Without the patch: 773$t, $b, $d and $k show literal & "
and ' instead of & " and '.
With the patch: the values are shown exactly as in the host record
and the popup closes normally, even with in the title.
6. Create a record with 245 ind1=3D1 ind2=3D4 and
245 $a The Beatles & co. : "greatest" hits
Repeat steps 3 and 4 with the search "Beatles".
773$t must be: Beatles & co. : "greatest" hits
7. Sign off.
Sponsored-by: BibLibre
--=20
You are receiving this mail because:
You are watching all bug changes.
--===============8500322247441912818==--