From 7e7fe5bf72207189906feed275a96f86df2a5573 Mon Sep 17 00:00:00 2001 From: Martin Fenner Date: Thu, 27 Dec 2018 08:30:04 +0100 Subject: [PATCH] make metadata import more flexible --- app/models/concerns/crosscitable.rb | 2 +- app/models/doi.rb | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/models/concerns/crosscitable.rb b/app/models/concerns/crosscitable.rb index aefc708b5..962db7090 100644 --- a/app/models/concerns/crosscitable.rb +++ b/app/models/concerns/crosscitable.rb @@ -92,7 +92,7 @@ def well_formed_xml(string) end def from_xml(string) - return nil unless string.start_with?('