From: Vincent Vanwaelscappel Date: Fri, 25 Jun 2021 15:38:19 +0000 (+0200) Subject: wait #4555 @1.5 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=f05a6bee529d74899598d6ca616a72c60277254e;p=fluidbook-html5.git wait #4555 @1.5 --- diff --git a/js/libs/fluidbook/fluidbook.loader.js b/js/libs/fluidbook/fluidbook.loader.js index 37924046..d7fd15ad 100644 --- a/js/libs/fluidbook/fluidbook.loader.js +++ b/js/libs/fluidbook/fluidbook.loader.js @@ -363,6 +363,14 @@ FluidbookLoader.prototype = { }, handleExtension: function (content) { + if (typeof content === 'object' && content !== null) { + var c = ''; + $.each(content, function (blendode, links) { + c += links.join(''); + }); + content = c; + } + var ext = this.fluidbook.settings.actualHtmlExtension; if (ext === undefined || ext === null || ext === 'html') { return content;