From f05a6bee529d74899598d6ca616a72c60277254e Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Fri, 25 Jun 2021 17:38:19 +0200 Subject: [PATCH] wait #4555 @1.5 --- js/libs/fluidbook/fluidbook.loader.js | 8 ++++++++ 1 file changed, 8 insertions(+) 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; -- 2.39.5