[% SET newsdisp = Koha.Preference('NewsAuthorDisplay') %]
[% FOREACH koha_new IN koha_news %]
<div class="newsitem" id="news[% koha_new.idnew %]"><h4>[% koha_new.title %]</h4>
- <p>[% koha_new.new %]</p>
+ <p>[% koha_new.new.raw %]</p>
<p class="newsfooter"> Posted on [% koha_new.newdate %][% IF( ( newsdisp == 'staff' || newsdisp == 'both' ) && koha_new.borrowernumber ) %] by <span class="newsauthor_title">[% koha_new.author_title %] </span>[% koha_new.author_firstname %] [% koha_new.author_surname %]<br />[% END %]
[% IF ( CAN_user_tools ) %]
<a href="/cgi-bin/koha/tools/koha-news.pl?op=add_form&id=[% koha_new.idnew %]">Edit</a>
<!-- [% koha_news_count %] recent news item(s) -->
[% FOREACH koha_new IN koha_news %]
<div class="newsitem" id="news[% koha_new.idnew %]"><h5 style="margin-bottom: 1px; margin-top: 1px"><b>[% koha_new.title %]</b></h5>
- <p style="margin-bottom: 1px; margin-top: 1px">[% koha_new.new %]</p>
+ <p style="margin-bottom: 1px; margin-top: 1px">[% koha_new.new.raw %]</p>
<p class="newsfooter" style="font-size: 8pt; font-style:italic; margin-bottom: 1px; margin-top: 1px"> Posted on [% koha_new.newdate %]
</p><hr /></div>
[% END %]
</li>
<li><label for="new">News: </label>
- <textarea name="new" id="new" cols="75" rows="10">[% new_detail.new %]</textarea>
+ <textarea name="new" id="new" cols="75" rows="10">[% new_detail.new.raw %]</textarea>
</li>
</ol>
</fieldset>
<td>[% opac_new.title %]</td>
<td>[% opac_new.author_title %] [% opac_new.author_firstname %] [% opac_new.author_surname %]</td>
<td>
- [% opac_new.new %]
+ [% opac_new.new.raw %]
</td>
<td><a href="/cgi-bin/koha/tools/koha-news.pl?op=add_form&id=[% opac_new.idnew %]">Edit</a></td>
</tr>
[% FOREACH koha_new IN koha_news %]
<div class="newsitem">
<a name="newsitem[% koha_new.idnew %]"></a><h4 class="newsheader">[% koha_new.title %]</h4>
- <div class="newsbody">[% koha_new.new %]</div>
+ <div class="newsbody">[% koha_new.new.raw %]</div>
<div class="newsfooter">(published on [% koha_new.newdate %][% IF ( (newsdisp == 'opac' || newsdisp == 'both') && koha_new.borrowernumber ) %] by <span class="newsauthor_title">[% koha_new.author_title %] </span>[% koha_new.author_firstname %] [% koha_new.author_surname %][% END %])</div>
</div>
[% END %]
[% FOREACH newsitem IN koha_news %]
<item>
<title>[% newsitem.title %]</title>
- <description>[% newsitem.new %]</description>
+ <description>[% newsitem.new.raw %]</description>
<guid>[% OPACBaseURL %]/cgi-bin/koha/opac-main.pl#newsitem[% newsitem.idnew %]</guid>
</item>
[% END %]