From 045aded8f2f7df8542770e501040552ca81c2c02 Mon Sep 17 00:00:00 2001
From: "J.-S. Caux" <J.S.Caux@uva.nl>
Date: Mon, 22 Jan 2018 14:48:11 +0100
Subject: [PATCH] Add closing slash to anonymous

---
 journals/views.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/journals/views.py b/journals/views.py
index f048f51cf..2236b0622 100644
--- a/journals/views.py
+++ b/journals/views.py
@@ -1129,7 +1129,7 @@ def generic_metadata_xml_deposit(request, **kwargs):
         if _object.anonymous:
             metadata_xml += (
                 '<anonymous sequence="first" contributor_role="'
-                + relation_to_published['contributor_role'] + '">'
+                + relation_to_published['contributor_role'] + '"/>'
             )
         else:
             metadata_xml += (
-- 
GitLab