Jonathan Druart
b704a1adfc
Replace a wrong html filter with raw. Test plan: Define a HOLD or DISCHARGE notice template, with html tags. Generate them and confirm that html tags are displayed (which restore the existing behaviour prior to bug 13618) Signed-off-by: Andrew Isherwood <andrew.isherwood@ptfs-europe.com> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
26 lines
809 B
Text
26 lines
809 B
Text
[% INCLUDE 'doc-head-open.inc' %]
|
|
[% USE raw %]
|
|
<title>Print Notices for [% today | html %]</title>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
<style type="text/css">
|
|
<!--
|
|
.message { page-break-after: always }
|
|
pre { font-family: monospace }
|
|
pre {white-space: pre-wrap;}
|
|
pre {white-space: -moz-pre-wrap;}
|
|
pre {white-space: -o-pre-wrap;}
|
|
pre {word-wrap: break-work;}
|
|
-->
|
|
</style>
|
|
[% IF ( stylesheet ) %]
|
|
<link rel="stylesheet" type="text/css" href="[% stylesheet | url %]">
|
|
[% END %]
|
|
</head>
|
|
<body id="batch_print-notices" class="batch">
|
|
[% FOREACH message IN messages %]
|
|
<div class="message">
|
|
<pre>[% message.content | $raw %]</pre>
|
|
</div>
|
|
[% END %]
|
|
</body>
|
|
</html>
|