Bug 13618: Fix xt/tt_valid.t

We are going to say it quietly but this test does not catch the problem
when there are no spaces....shhhh

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
This commit is contained in:
Jonathan Druart 2018-08-17 14:58:52 -03:00 committed by Nick Clemens
parent facb5cb25a
commit f130ada624
1 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
[% USE raw %]
[% classprop = 'class="' | html %]
[% SET classprop = 'class="' %]
[% IF LoginBranchcode.defined %]
[% classprop = classprop _ 'branch-' _ LoginBranchcode %]
[% ELSE %]
@ -11,6 +11,6 @@
[% classprop = classprop _ '"' %]
[% IF bodyid.defined %]
[% idprop = 'ID="' _ bodyid _ '" ' | html %]
[% SET idprop = 'ID="' _ bodyid _ '" ' %]
[% END %]
<body [% idprop | html %][% classprop | $raw %] >
<body [%idprop|$raw%][%classprop|$raw%] >