Bug 27694: use HTML filtering on News Tool textarea
To test: 1. Add some HTML enties to your codemirror in the News Tool. Example: <option value="(itype:DVD and loc:*NEW) AND NOT index-term-genre:"television"">Movies</option> 2. Save and re-eneter the tool, the HTML entites have been converted 3. Apply patch 4. Try again, HTML entities should not be converted Signed-off-by: Ron Houk <rhouk@ottumwapubliclibrary.org> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
c3cf9a1ef9
commit
9d2092e36f
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ Edit news item[% ELSE %]Add news item[% END %][% ELSE %]News[% END %]</div>
|
|||
[% END %]
|
||||
</li>
|
||||
<li><label for="content">News: </label>
|
||||
<textarea name="content" id="content" cols="75" rows="10">[% new_detail.content | $raw %]</textarea>
|
||||
<textarea name="content" id="content" cols="75" rows="10">[% new_detail.content | html %]</textarea>
|
||||
</li>
|
||||
</ol>
|
||||
</fieldset>
|
||||
|
|
Loading…
Reference in a new issue