From 7e1722475a0a556a205816e3816c7ffec8089414 Mon Sep 17 00:00:00 2001 From: Zhelyan Date: Wed, 25 Sep 2024 10:21:21 +0100 Subject: [PATCH] fix(plantuml export) Win compatibility --- .../nl/avisi/structurizr/site/generatr/site/PlantUmlExporter.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/nl/avisi/structurizr/site/generatr/site/PlantUmlExporter.kt b/src/main/kotlin/nl/avisi/structurizr/site/generatr/site/PlantUmlExporter.kt index 50456ed1..a2d6400b 100644 --- a/src/main/kotlin/nl/avisi/structurizr/site/generatr/site/PlantUmlExporter.kt +++ b/src/main/kotlin/nl/avisi/structurizr/site/generatr/site/PlantUmlExporter.kt @@ -136,7 +136,7 @@ private class WriterWithElementLinks( writeElement(view, element, it) it.toString() .replace(TEMP_URI, "") - .split(System.lineSeparator()) + .lines() .forEach { line -> writer?.writeLine(line) } } }