From e80b4b0242c9b151feacfb59d5d0824631159a79 Mon Sep 17 00:00:00 2001
From: Batsien Doreau <bastien.doreau@isima.fr>
Date: Mon, 15 Apr 2019 14:38:57 +0200
Subject: [PATCH] fix DOI -> doi for RG_format

---
 hal/views.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/hal/views.py b/hal/views.py
index 7491a57..c5f6988 100644
--- a/hal/views.py
+++ b/hal/views.py
@@ -582,6 +582,7 @@ def text_format_rg(request):
                             pp = pp.replace(",","")
                             pp = pp.strip()
                             rest_publi = rest_publi[z:]
+                            rest_publi = rest_publi.replace("DOI","doi")
       
                             print ("rest_publi 4 :"+rest_publi)
     
-- 
GitLab