diff --git a/api/src/main/java/org/open4goods/api/services/VerticalsGenerationService.java b/api/src/main/java/org/open4goods/api/services/VerticalsGenerationService.java index 51b33444..cecf4c41 100644 --- a/api/src/main/java/org/open4goods/api/services/VerticalsGenerationService.java +++ b/api/src/main/java/org/open4goods/api/services/VerticalsGenerationService.java @@ -654,7 +654,7 @@ public String generateEcoscoreYamlConfig (VerticalConfig vConf) { // // }); - ret = serialisationService.toYaml(map.replace("---", "")); + ret = serialisationService.toYaml(map).replace("---", ""); } catch (ResourceNotFoundException e) {