diff --git a/invenio/lib/bibformat_elements/bfe_abstract.py b/invenio/lib/bibformat_elements/bfe_abstract.py index 7102c86496..98ab75c9b5 100644 --- a/invenio/lib/bibformat_elements/bfe_abstract.py +++ b/invenio/lib/bibformat_elements/bfe_abstract.py @@ -62,10 +62,12 @@ def format_element(bfo, prefix_en, prefix_fr, suffix_en, suffix_fr, limit, max_c abstract_en = bfo.fields('520__a', escape=escape_mode_int) abstract_en.extend(bfo.fields('520__b', escape=escape_mode_int)) + abstract_en = [line for abstract in abstract_en for line in abstract.split("\n") if line] abstract_en = separator_en.join(abstract_en) abstract_fr = bfo.fields('590__a', escape=escape_mode_int) abstract_fr.extend(bfo.fields('590__b', escape=escape_mode_int)) + abstract_fr = [line for abstract in abstract_fr for line in abstract.split("\n") if line] abstract_fr = separator_fr.join(abstract_fr) if contextual == 'yes' and limit != "" and \ diff --git a/simplestore/etc/templates/deposits.html b/simplestore/etc/templates/deposits.html index 01ba802625..e9f759b6a4 100644 --- a/simplestore/etc/templates/deposits.html +++ b/simplestore/etc/templates/deposits.html @@ -37,7 +37,7 @@