Skip to content

Commit

Permalink
Merge pull request #112 from MaRDI4NFDI/fix_newlines
Browse files Browse the repository at this point in the history
fix newlines
  • Loading branch information
LizzAlice authored Dec 11, 2023
2 parents 96afa67 + 05a42b5 commit b10bb13
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mardi_importer/mardi_importer/zbmath/ZBMathSource.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit b10bb13

Please sign in to comment.