diff --git a/app/graphql/types/doi_item.rb b/app/graphql/types/doi_item.rb
index 96a600c98..75a03ef88 100644
--- a/app/graphql/types/doi_item.rb
+++ b/app/graphql/types/doi_item.rb
@@ -70,13 +70,13 @@ def formatted_citation(style: nil, locale: nil)
bibliography = cp.render :bibliography, id: normalize_doi(object.doi)
url = object.doi
unless /^https?:\/\//i.match?(object.doi)
- url = "https://doi.org/#{object.doi}"
+ url = "https://doi.org/#{object.doi}"
end
- bibliography.first.gsub(url,doi_link(url))
+ bibliography.first.gsub(url, doi_link(url))
end
def doi_link(url)
- " #{url} "
+ "#{url}"
end
def citeproc_hsh