aboutsummaryrefslogtreecommitdiff
path: root/core/src/main/kotlin/Formats
diff options
context:
space:
mode:
authorSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2017-12-15 01:00:32 +0300
committerSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2017-12-15 01:00:32 +0300
commitdbd4774ffae19ff4d52cd21c7cb3906cdc3e0b5c (patch)
tree82513ef99e9c20db5fa9a1e386d43aece95d286f /core/src/main/kotlin/Formats
parent2de8d15435c1e779a1f97c48330acf5fc9c38670 (diff)
downloaddokka-dbd4774ffae19ff4d52cd21c7cb3906cdc3e0b5c.tar.gz
dokka-dbd4774ffae19ff4d52cd21c7cb3906cdc3e0b5c.tar.bz2
dokka-dbd4774ffae19ff4d52cd21c7cb3906cdc3e0b5c.zip
Normalize file path's when using as URI
Diffstat (limited to 'core/src/main/kotlin/Formats')
-rw-r--r--core/src/main/kotlin/Formats/HtmlTemplateService.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/main/kotlin/Formats/HtmlTemplateService.kt b/core/src/main/kotlin/Formats/HtmlTemplateService.kt
index 84e01910..a65a7b18 100644
--- a/core/src/main/kotlin/Formats/HtmlTemplateService.kt
+++ b/core/src/main/kotlin/Formats/HtmlTemplateService.kt
@@ -24,7 +24,7 @@ interface HtmlTemplateService {
to.appendln("<title>$title</title>")
}
if (css != null) {
- val cssPath = basePath.resolve(css)
+ val cssPath = basePath.resolve(css).toUnixString()
to.appendln("<link rel=\"stylesheet\" href=\"$cssPath\">")
}
to.appendln("</HEAD>")