Remove H5P special chars

namespaces
Svein-Tore Griff With 2015-01-14 18:13:23 +01:00
parent 62618104af
commit 3beaa8302a
1 changed files with 0 additions and 7 deletions

View File

@ -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, '&lt;').replace(/>/g, '&gt;').replace(/'/g, '&#039;').replace(/"/g, '&quot;');
};
H5P.deprecatedTrigger = function(instance, event) {
if (instance.trigger !== undefined) {
instance.trigger(event);