🎨 Some InlineImage comment / formatting

This commit is contained in:
Pierre Goiffon
2019-09-27 16:11:42 +02:00
parent 7acb53a22f
commit a54695b2e0
2 changed files with 5 additions and 2 deletions

View File

@@ -79,10 +79,13 @@ abstract class HTMLSanitizer
/**
* Dummy HTMLSanitizer which does nothing at all!
*
* Can be used if HTML Sanitization is not important
* (for example when importing "safe" data during an on-boarding)
* and performance is at stake
*
* **Warning** : this won't filter HTML inserted in iTop at all, so this is a great security issue !
* Also, the InlineImage objects processing won't be called.
*/
class HTMLNullSanitizer extends HTMLSanitizer
{

View File

@@ -479,7 +479,7 @@ EOF
$sAppRootUrl = utils::GetAbsoluteUrlAppRoot();
return
<<<EOF
<<<JS
// Hook the file upload of all CKEditor instances
$('.htmlEditor').each(function() {
var oEditor = $(this).ckeditorGet();
@@ -545,7 +545,7 @@ EOF
}
});
});
EOF
JS
;
}
}