From 05a42b5be2192a1a4f024c2e786846d45c13da0a Mon Sep 17 00:00:00 2001 From: Ubuntu Date: Mon, 11 Dec 2023 14:52:43 +0100 Subject: [PATCH] fix newlines --- mardi_importer/mardi_importer/zbmath/ZBMathSource.py | 1 + 1 file changed, 1 insertion(+) diff --git a/mardi_importer/mardi_importer/zbmath/ZBMathSource.py b/mardi_importer/mardi_importer/zbmath/ZBMathSource.py index 7692010..377b029 100644 --- a/mardi_importer/mardi_importer/zbmath/ZBMathSource.py +++ b/mardi_importer/mardi_importer/zbmath/ZBMathSource.py @@ -248,6 +248,7 @@ def parse_record(self, xml_record): # element content is a simple text text = zb_preview.find(get_tag(tag, self.tag_namespace)).text + text = text.replace("\n", " ") new_entry[tag] = text # if tag is not found in zbMath return, we still want to get it from doi else: