]> _ Git - fluidbook-html5.git/commitdiff
wait #4555 @1.5
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 25 Jun 2021 15:38:19 +0000 (17:38 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 25 Jun 2021 15:38:19 +0000 (17:38 +0200)
js/libs/fluidbook/fluidbook.loader.js

index 3792404681394d51038deec62d346a4f08e027dc..d7fd15ada352ea5833fed7b7eb8fc778dfd63e12 100644 (file)
@@ -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;