diff options
author | Simon Ogorodnik <Simon.Ogorodnik@jetbrains.com> | 2017-12-15 01:00:32 +0300 |
---|---|---|
committer | Simon Ogorodnik <Simon.Ogorodnik@jetbrains.com> | 2017-12-15 01:00:32 +0300 |
commit | dbd4774ffae19ff4d52cd21c7cb3906cdc3e0b5c (patch) | |
tree | 82513ef99e9c20db5fa9a1e386d43aece95d286f /core/src/main/kotlin/Formats | |
parent | 2de8d15435c1e779a1f97c48330acf5fc9c38670 (diff) | |
download | dokka-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.kt | 2 |
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>") |