diff --git a/js/h5p.js b/js/h5p.js index 249d2bd..8881b86 100644 --- a/js/h5p.js +++ b/js/h5p.js @@ -1303,13 +1303,6 @@ if (H5P.jQuery) { }); } - /** - * Mimics how php's htmlspecialchars works (the way we use it) - */ -H5P.htmlSpecialChars = function(string) { - return string.toString().replace(//g, '>').replace(/'/g, ''').replace(/"/g, '"'); -}; - H5P.deprecatedTrigger = function(instance, event) { if (instance.trigger !== undefined) { instance.trigger(event);