summaryrefslogtreecommitdiffstats
path: root/python/fatcat_tools
diff options
context:
space:
mode:
authorMartin Czygan <martin.czygan@gmail.com>2020-01-06 19:37:45 +0100
committerMartin Czygan <martin.czygan@gmail.com>2020-01-06 19:37:45 +0100
commit582e18d3b9b4599604cddacd526f9b81c1d117d4 (patch)
tree2264aa0e6b8cf23082990dee8bf3b77dbfffd4f5 /python/fatcat_tools
parent6fb2a2bda8b2e1e704075f18ef27a459cf6789c3 (diff)
downloadfatcat-582e18d3b9b4599604cddacd526f9b81c1d117d4.tar.gz
fatcat-582e18d3b9b4599604cddacd526f9b81c1d117d4.zip
datacite: clean abstract as well
Diffstat (limited to 'python/fatcat_tools')
-rw-r--r--python/fatcat_tools/importers/datacite.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/fatcat_tools/importers/datacite.py b/python/fatcat_tools/importers/datacite.py
index 9a1e9935..c3d6138e 100644
--- a/python/fatcat_tools/importers/datacite.py
+++ b/python/fatcat_tools/importers/datacite.py
@@ -543,7 +543,7 @@ class DataciteImporter(EntityImporter):
abstracts.append(
fatcat_openapi_client.ReleaseAbstract(
mimetype="text/plain",
- content=text,
+ content=clean(text),
lang=lang,
))