diff --git a/admin/manage_knowledgebase.php b/admin/manage_knowledgebase.php index a56b8cf0..48a6b643 100644 --- a/admin/manage_knowledgebase.php +++ b/admin/manage_knowledgebase.php @@ -1,7 +1,7 @@ purify($content); } else { @@ -1969,6 +1974,11 @@ function new_article() } $content = hesk_getHTML( hesk_POST('content') ); + + // Clean the HTML code + require(HESK_PATH . 'inc/htmlpurifier/HTMLPurifier.standalone.php'); + $purifier = new HTMLPurifier(); + $content = $purifier->purify($content); } else { @@ -2211,7 +2221,7 @@ function show_treeMenu() { =
=
=
- (1, 2, 3) =
+ (1, 2, 3) =