diff --git a/src/main/java/org/inra/yedgen/processor/entities/Node.java b/src/main/java/org/inra/yedgen/processor/entities/Node.java index 3e116b4..3ae1fc2 100644 --- a/src/main/java/org/inra/yedgen/processor/entities/Node.java +++ b/src/main/java/org/inra/yedgen/processor/entities/Node.java @@ -409,7 +409,7 @@ private String getKeyByURI(String target ) { private String cleanQ ( String query ) { return query == null ? null : query.replaceAll("\n", " ") - .replaceAll("\t", " ") + .replaceAll("[\n\r]", "") .replaceAll(" +", " ") ; }