From ac3ddd7eb2b3884f104b12433fc5ef4e3f82390d Mon Sep 17 00:00:00 2001 From: gibert Date: Tue, 3 Dec 2024 15:16:06 +0100 Subject: [PATCH] Remplacement des guillemets double pour les sujets --- .../abes/theses_batch_indexation/dto/these/TheseMappee.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/fr/abes/theses_batch_indexation/dto/these/TheseMappee.java b/src/main/java/fr/abes/theses_batch_indexation/dto/these/TheseMappee.java index 4c24f6d..106d693 100644 --- a/src/main/java/fr/abes/theses_batch_indexation/dto/these/TheseMappee.java +++ b/src/main/java/fr/abes/theses_batch_indexation/dto/these/TheseMappee.java @@ -600,9 +600,9 @@ public TheseMappee(Mets mets, List oaiSets, int idDoc) { if (s != null && s.getLang() != null) { sujetDTO.setLangue(s.getLang()); - sujetDTO.setLibelle(s.getContent()); + sujetDTO.setLibelle(s.getContent().replace("\"", "''")); sujets.add(sujetDTO); - sujetsLibelle.add(s.getContent()); + sujetsLibelle.add(s.getContent().replace("\"", "''")); } } } catch (NullPointerException e) {