From bugzilla-daemon@bugs.koha-community.org Mon Dec 7 20:41:07 2020 From: bugzilla-daemon@bugs.koha-community.org To: koha-bugs@lists.koha-community.org Subject: [Koha-bugs] [Bug 27165] New: Online Resource link displays as HTML in OPAC MARC view Date: Mon, 07 Dec 2020 19:41:06 +0000 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============9030950592670557257==" --===============9030950592670557257== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27165 Bug ID: 27165 Summary: Online Resource link displays as HTML in OPAC MARC view Change sponsored?: --- Product: Koha Version: 20.05 Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: OPAC Assignee: oleonard@myacpl.org Reporter: jyorio@equinoxinitiative.org QA Contact: testopia@bugs.koha-community.org Happens in both 20.05 and 19.11: In the OPAC, when using MARC view for a record with an online resource link, the complete HTML for the link is displayed for the URI. That is, if the URI is: http://some.valid.link, the MARC preview shows: http://some.valid.link -- You are receiving this mail because: You are watching all bug changes. --===============9030950592670557257==-- From bugzilla-daemon@bugs.koha-community.org Thu Dec 10 00:25:00 2020 From: bugzilla-daemon@bugs.koha-community.org To: koha-bugs@lists.koha-community.org Subject: [Koha-bugs] [Bug 27165] Online Resource link displays as HTML in OPAC MARC view Date: Wed, 09 Dec 2020 23:24:59 +0000 Message-ID: In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5504735574903674564==" --===============5504735574903674564== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27165 --- Comment #1 from Katrin Fischer --- How was the link catalogued in this case? -- You are receiving this mail because: You are watching all bug changes. --===============5504735574903674564==-- From bugzilla-daemon@bugs.koha-community.org Thu Dec 10 15:58:14 2020 From: bugzilla-daemon@bugs.koha-community.org To: koha-bugs@lists.koha-community.org Subject: [Koha-bugs] [Bug 27165] Online Resource link displays as HTML in OPAC MARC view Date: Thu, 10 Dec 2020 14:58:13 +0000 Message-ID: In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6510560289970259120==" --===============6510560289970259120== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=3D27165 --- Comment #2 from Owen Leonard --- I can confirm this in master too. Testing with a record that has 856u populat= ed with a regular link, the MARC view shows HTML. An example from our catalog, currently at v19.11.08: https://search.myacpl.org/cgi-bin/koha/opac-MARCdetail.pl?biblionumber=3D2395= 28 --=20 You are receiving this mail because: You are watching all bug changes. --===============6510560289970259120==-- From bugzilla-daemon@bugs.koha-community.org Thu Dec 10 16:08:23 2020 From: bugzilla-daemon@bugs.koha-community.org To: koha-bugs@lists.koha-community.org Subject: [Koha-bugs] [Bug 27165] Online Resource link displays as HTML in OPAC MARC view Date: Thu, 10 Dec 2020 15:08:22 +0000 Message-ID: In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5781139351865463200==" --===============5781139351865463200== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=3D27165 --- Comment #3 from Owen Leonard --- opac-MARCdetail.pl checks whether a subfield should be a link, and outputs HT= ML if it is. The template assumes that the subfield value *doesn't* contain HTML and uses the "html" filter on the variable.=20 The template needs a check on whether the subfield is a link in order to selectively use the "$raw" filter. --=20 You are receiving this mail because: You are watching all bug changes. --===============5781139351865463200==-- From bugzilla-daemon@bugs.koha-community.org Sat Jul 1 16:37:52 2023 From: bugzilla-daemon@bugs.koha-community.org To: koha-bugs@lists.koha-community.org Subject: [Koha-bugs] [Bug 27165] Online Resource link displays as HTML in OPAC MARC view Date: Sat, 01 Jul 2023 14:37:51 +0000 Message-ID: In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1062507044121533085==" --===============1062507044121533085== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27165 Katrin Fischer changed: What |Removed |Added ---------------------------------------------------------------------------- Version|20.05 |master -- You are receiving this mail because: You are watching all bug changes. --===============1062507044121533085==-- From bugzilla-daemon@bugs.koha-community.org Wed Feb 18 12:19:43 2026 From: bugzilla-daemon@bugs.koha-community.org To: koha-bugs@lists.koha-community.org Subject: [Koha-bugs] [Bug 27165] Online Resource link displays as HTML in OPAC MARC view Date: Wed, 18 Feb 2026 11:19:42 +0000 Message-ID: In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7890169343643906167==" --===============7890169343643906167== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=3D27165 Jan Kissig changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bibliothek@th-wildau.de --- Comment #4 from Jan Kissig --- I'd suggest the same logic as in catalogue/MARCdetail.pl where an 'is_url' fl= ag is passed to the template and the template will surround the content with an html anchor tag if that flag is found. As for URLs missing the http(s):// surrounding them with will generate incorrect links, see pending https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=3D6892 --=20 You are receiving this mail because: You are watching all bug changes. --===============7890169343643906167==--