Remove H5P special chars
parent
62618104af
commit
3beaa8302a
|
@ -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, ''').replace(/"/g, '"');
|
||||
};
|
||||
|
||||
H5P.deprecatedTrigger = function(instance, event) {
|
||||
if (instance.trigger !== undefined) {
|
||||
instance.trigger(event);
|
||||
|
|
Loading…
Reference in New Issue