Bug 27694: use HTML filtering on News Tool textarea
authorLucas Gass <lucas@bywatersolutions.com>
Fri, 12 Feb 2021 15:57:22 +0000 (15:57 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 18 Feb 2021 10:53:18 +0000 (11:53 +0100)
commit9d2092e36f3d801802856452195726b1baf494cb
tree9a3531a708d04310ee81e7cb5db7a46936ce2f6a
parentc3cf9a1ef9370df59aedb4a441bbab2644f214d3
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:&quot;television&quot;">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>
koha-tmpl/intranet-tmpl/prog/en/modules/tools/koha-news.tt