aboutsummaryrefslogtreecommitdiff
path: root/src/Locations/SingleFolderLocationService.kt
diff options
context:
space:
mode:
Diffstat (limited to 'src/Locations/SingleFolderLocationService.kt')
-rw-r--r--src/Locations/SingleFolderLocationService.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Locations/SingleFolderLocationService.kt b/src/Locations/SingleFolderLocationService.kt
index 8fc6a201..4f926959 100644
--- a/src/Locations/SingleFolderLocationService.kt
+++ b/src/Locations/SingleFolderLocationService.kt
@@ -5,7 +5,7 @@ import java.io.File
public fun SingleFolderLocationService(root: String): SingleFolderLocationService = SingleFolderLocationService(File(root))
public class SingleFolderLocationService(val root: File) : LocationService {
override fun location(node: DocumentationNode): Location {
- val filename = node.path.map { escapeUri(it.name) }.joinToString("-")
+ val filename = node.path.map { identifierToFilename(it.name) }.joinToString("-")
return Location(File(root, filename))
}
} \ No newline at end of file