From 0b7d3b4331c69238ae04fdb895baeae9ce0742cf Mon Sep 17 00:00:00 2001 From: Lucas Gass Date: Thu, 26 Mar 2020 22:46:26 +0000 Subject: [PATCH] Bug 24764: TinyMCE shouldnt do automatic code cleanup when editing HTML in News Feature TEST PLAN: 1. Make a new news item and use the TinyMCE editor, click on the <> icon to go to the Source code editor 2. Add some HTML like and save it. 3. Go back in and notice that TinyMCE has changed it to:

TEST

4. It should not auto clean up and also it should not autowrap with

tag. 5. Apply patch patch, and repeat step 2. Save again. 6. It should not have automatiicly changed any HTML or added any

wrapper. Signed-off-by: David Cook Signed-off-by: Katrin Fischer Signed-off-by: Martin Renvoize Signed-off-by: Joy Nelson --- koha-tmpl/intranet-tmpl/prog/en/modules/tools/koha-news.tt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/koha-news.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/koha-news.tt index 6621e0c878..abdd1531ea 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/koha-news.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/koha-news.tt @@ -296,6 +296,10 @@ Edit news item[% ELSE %]Add news item[% END %][% ELSE %]News[% END %] [% INCLUDE 'str/tinymce_i18n.inc' %]