Bug 31246: <span> displayed in 'Additional fields' section
This patch avoids escaping HMTL data in the additional fields section. To test: 1. Open the additional fields section http://kohadev-intra.mydnsname.org:8081/cgi-bin/koha/admin/additional-fields.pl => FAIL: there are some nasty <span> </span> texts in there 2. Apply this patch 3. Reload => SUCCESS: Things display nicely again! 4. Sign off :-D Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Emmanuel Bétemps <e.betemps@gmail.com> Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
9b010d99df
commit
a7272f9886
1 changed files with 2 additions and 1 deletions
|
@ -1,4 +1,5 @@
|
|||
[% USE AuthorisedValues %]
|
||||
[% USE raw %]
|
||||
[% SET footerjs = 1 %]
|
||||
[% INCLUDE 'doc-head-open.inc' %]
|
||||
<title>
|
||||
|
@ -105,7 +106,7 @@
|
|||
<h1>Additional fields</h1>
|
||||
<p>Select a table:</p>
|
||||
[% BLOCK table_option %]
|
||||
<li><a href="?tablename=[% value | uri %]">[% content | html %] (<span class="ex">[% value | html %]</span>)</a></li>
|
||||
<li><a href="?tablename=[% value | uri %]">[% content | $raw %] (<span class="ex">[% value | html %]</span>)</a></li>
|
||||
[% END %]
|
||||
<ul>
|
||||
[% IF CAN_user_acquisition_order_manage %]
|
||||
|
|
Loading…
Reference in a new issue