From d50eb3d4e1d875eb358d84ed2b1eda38ad70f932 Mon Sep 17 00:00:00 2001 From: Petr Skoda Date: Sun, 4 Jul 2010 12:08:53 +0000 Subject: [PATCH] no more id cvs markers or closing php tags! --- .../wiki/ewiki/plugins/moodle/moodle_rescue_html.php | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/mod/wiki/db/migration/wiki/ewiki/plugins/moodle/moodle_rescue_html.php b/mod/wiki/db/migration/wiki/ewiki/plugins/moodle/moodle_rescue_html.php index 64de6712e73..cfa762356c1 100644 --- a/mod/wiki/db/migration/wiki/ewiki/plugins/moodle/moodle_rescue_html.php +++ b/mod/wiki/db/migration/wiki/ewiki/plugins/moodle/moodle_rescue_html.php @@ -1,4 +1,4 @@ - @@ -23,11 +23,11 @@ function ewiki_moodle_rescue_html(&$wiki_source) { $rescue_html = array( "br", "tt", "b", "i", "strong", "em", "s", "kbd", "var", "xmp", "sup", "sub", - "pre", "q", "h1", "h2", "h3", "h4", "h5", "h6", "cite", "code", "u", + "pre", "q", "h1", "h2", "h3", "h4", "h5", "h6", "cite", "code", "u", ); - - + + #-- unescape allowed html if ($safe_html) { /* @@ -42,5 +42,3 @@ function ewiki_moodle_rescue_html(&$wiki_source) { } - -?>