HFP-1905 Fix for LibraryNames with many elements
parent
14bcb913b7
commit
e241ec6963
|
@ -1126,7 +1126,7 @@ H5P.buildMetadataCopyrights = function (metadata, contentTypeName) {
|
||||||
contentTypeName = contentTypeName
|
contentTypeName = contentTypeName
|
||||||
.split(' ')[0]
|
.split(' ')[0]
|
||||||
.replace(/^H5P\./, '')
|
.replace(/^H5P\./, '')
|
||||||
.replace(/([a-z])([A-Z])/, '$1' + ' ' + '$2');
|
.replace(/([a-z])([A-Z])/g, '$1' + ' ' + '$2');
|
||||||
}
|
}
|
||||||
|
|
||||||
return new H5P.MediaCopyright(
|
return new H5P.MediaCopyright(
|
||||||
|
|
Loading…
Reference in New Issue