Merge branch 'master' of https://github.com/h5p/h5p-php-library into image-editing
commit
fa7b42120d
|
@ -1664,7 +1664,7 @@ class H5PCore {
|
|||
'js/h5p-utils.js',
|
||||
);
|
||||
|
||||
public static $defaultContentWhitelist = 'json png jpg jpeg gif bmp tif tiff svg eot ttf woff otf webm mp4 ogg mp3 txt pdf rtf doc docx xls xlsx ppt pptx odt ods odp xml csv diff patch swf md textile';
|
||||
public static $defaultContentWhitelist = 'json png jpg jpeg gif bmp tif tiff svg eot ttf woff woff2 otf webm mp4 ogg mp3 txt pdf rtf doc docx xls xlsx ppt pptx odt ods odp xml csv diff patch swf md textile';
|
||||
public static $defaultLibraryWhitelistExtras = 'js css';
|
||||
|
||||
public $librariesJsonData, $contentJsonData, $mainJsonData, $h5pF, $path, $development_mode, $h5pD, $disableFileCheck;
|
||||
|
|
|
@ -375,7 +375,8 @@ H5P.getHeadTags = function (contentId) {
|
|||
return tags;
|
||||
};
|
||||
|
||||
return createStyleTags(H5PIntegration.core.styles) +
|
||||
return '<base target="_parent">' +
|
||||
createStyleTags(H5PIntegration.core.styles) +
|
||||
createStyleTags(H5PIntegration.contents['cid-' + contentId].styles) +
|
||||
createScriptTags(H5PIntegration.core.scripts) +
|
||||
createScriptTags(H5PIntegration.contents['cid-' + contentId].scripts) +
|
||||
|
|
Loading…
Reference in New Issue