Bugzilla – Attachment 95275 Details for
Bug 23777
Text converted to html entity codes in cataloguing edit form
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 23777: Fix auth finder escaping
Bug-23777-Fix-auth-finder-escaping.patch (text/plain), 1.73 KB, created by
Jonathan Druart
on 2019-11-11 18:04:31 UTC
(
hide
)
Description:
Bug 23777: Fix auth finder escaping
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2019-11-11 18:04:31 UTC
Size:
1.73 KB
patch
obsolete
>From 402cf8d8beb2b1cc96c700c3a67b98a2e8968c38 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Mon, 11 Nov 2019 19:03:41 +0100 >Subject: [PATCH] Bug 23777: Fix auth finder escaping > >--- > .../prog/en/modules/authorities/blinddetail-biblio-search.tt | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/blinddetail-biblio-search.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/blinddetail-biblio-search.tt >index b9635b372a..168afa188c 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/blinddetail-biblio-search.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/blinddetail-biblio-search.tt >@@ -1,3 +1,4 @@ >+[% USE To %] > [% SET footerjs = 1 %] > [% INCLUDE 'doc-head-open.inc' %] > <title>Koha › Authority details</title> >@@ -108,9 +109,9 @@ > [% UNLESS ( clear ) %] > [% FOREACH SUBFIELD_LOO IN SUBFIELD_LOOP %] > SetSubfieldValues( >- "[% tag_number |replace("'", "\'") |replace('"', '\"') |replace('\n', '\\n') |replace('\r', '\\r') | html %][% SUBFIELD_LOO.marc_subfield |replace("'", "\'") |replace('"', '\"') |replace('\n', '\\n') |replace('\r', '\\r') | html %]" >+ "[% To.json(tag_number) | $raw %][% To.json(SUBFIELD_LOO.marc_subfield) | $raw %]" > [% FOREACH marc_value IN SUBFIELD_LOO.marc_values %] >- ,"[% marc_value |replace("'", "\'") |replace('"', '\"') |replace('\n', '\\n') |replace('\r', '\\r') | html %]" >+ ,"[% To.json( marc_value ) | $raw %]" > [% END %] > ); > [% END %] >-- >2.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 23777
:
95275
|
95279
|
95280
|
95281
|
95282
|
95283
|
95284
|
97685
|
97686
|
97687
|
97688
|
97689
|
97690
|
97691
|
98698
|
98699
|
98700
|
99341
|
99342
|
99343
|
99344
|
99345
|
99346
|
99347
|
99348
|
99570