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>
[% USE raw %]
-[% classprop = 'class="' | html %]
+[% SET classprop = 'class="' %]
[% IF LoginBranchcode.defined %]
[% classprop = classprop _ 'branch-' _ LoginBranchcode %]
[% ELSE %]
[% classprop = classprop _ '"' %]
[% IF bodyid.defined %]
- [% idprop = 'ID="' _ bodyid _ '" ' | html %]
+ [% SET idprop = 'ID="' _ bodyid _ '" ' %]
[% END %]
-<body [% idprop | html %][% classprop | $raw %] >
+<body [%idprop|$raw%][%classprop|$raw%] >