Maintenance message: avoid Unicode corruption, support KPAC
[working/Evergreen.git] / Open-ILS / src / templates / opac / parts / topnav.tt2
index b6ba5e7..46c497a 100644 (file)
@@ -1,8 +1,6 @@
-[% IF ctx.maintenance_message %]
-<div id="maintenance_message">
-[%= ctx.maintenance_message %]
-</div>
-[% END %]
+[%- IF ctx.maintenance_message -%]
+<div id="maintenance_message">[% ctx.maintenance_message %]</div>
+[%- END -%]
 [% IF !ctx.is_staff %]
 <div id="header-wrap">
 <div id="header">