From bc7a653632d37c5a5d399c7a98ec8f308102c375 Mon Sep 17 00:00:00 2001
From: Patrizio Bekerle <patrizio@bekerle.com>
Date: Thu, 25 Mar 2021 15:25:16 +0100
Subject: [PATCH] User underline as separator to get into less trouble with
 elastic search (#37)

---
 src/utils.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/utils.js b/src/utils.js
index e0648f7..603d5c8 100644
--- a/src/utils.js
+++ b/src/utils.js
@@ -230,7 +230,7 @@ export const addKeyValuePdfAnnotationsToAnnotationFactory = (annotationFactory,
 
     // add machine readable annotation
     author = 'Maschinell aufgebracht, bitte nicht entfernen / Applied automatically, please do not remove';
-    content = 'dbp-annotation-' + annotationType + '-' + organizationNumber + '=' + value;
+    content = 'dbp_annotation_' + annotationType + '_' + organizationNumber + '=' + value;
     annotationFactory = addPdfAnnotationToAnnotationFactory(annotationFactory, author, content);
 
     return annotationFactory;
-- 
GitLab