diff --git a/core/bookloader.py b/core/bookloader.py index 852b0d4a..f5b0a6d6 100755 --- a/core/bookloader.py +++ b/core/bookloader.py @@ -961,6 +961,8 @@ class BasePandataLoader(object): #be careful about overwriting the work description if metadata.description and len(metadata.description) > len(work.description): + if isinstance(metadata.description, list): + metadata.description = '\n'.join(metadata.description) # don't over-write reasonably long descriptions if len(work.description) < 500: work.description = metadata.description.replace('\r\n', '\n') diff --git a/frontend/templates/home.html b/frontend/templates/home.html index a7d0b6b2..23e99fda 100755 --- a/frontend/templates/home.html +++ b/frontend/templates/home.html @@ -219,7 +219,7 @@ function put_un_in_cookie2(){