From e241ec6963204bf019934ea39fab96637b4cf0be Mon Sep 17 00:00:00 2001 From: Oliver Tacke Date: Thu, 28 Jun 2018 18:36:58 +0200 Subject: [PATCH] HFP-1905 Fix for LibraryNames with many elements --- js/h5p.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/h5p.js b/js/h5p.js index a92d24c..1c73e70 100644 --- a/js/h5p.js +++ b/js/h5p.js @@ -1126,7 +1126,7 @@ H5P.buildMetadataCopyrights = function (metadata, contentTypeName) { contentTypeName = contentTypeName .split(' ')[0] .replace(/^H5P\./, '') - .replace(/([a-z])([A-Z])/, '$1' + ' ' + '$2'); + .replace(/([a-z])([A-Z])/g, '$1' + ' ' + '$2'); } return new H5P.MediaCopyright(