aboutsummaryrefslogtreecommitdiff
path: root/core/src/main/kotlin
diff options
context:
space:
mode:
authorSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2016-11-01 17:56:17 +0300
committerSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2016-11-01 19:11:13 +0300
commitb10acb958c5f6eae54c7bea6cfa0d263bbcce55d (patch)
tree78c9bda2f697ba85f9bba34d7a4d797ddb422f44 /core/src/main/kotlin
parent5daeb3e01c5f2975c1663b79ca80a037f3f335b0 (diff)
downloaddokka-b10acb958c5f6eae54c7bea6cfa0d263bbcce55d.tar.gz
dokka-b10acb958c5f6eae54c7bea6cfa0d263bbcce55d.tar.bz2
dokka-b10acb958c5f6eae54c7bea6cfa0d263bbcce55d.zip
Fix for GH#94 : meta charset for Html format
Diffstat (limited to 'core/src/main/kotlin')
-rw-r--r--core/src/main/kotlin/Formats/HtmlTemplateService.kt1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/src/main/kotlin/Formats/HtmlTemplateService.kt b/core/src/main/kotlin/Formats/HtmlTemplateService.kt
index 7efb94a1..010bc702 100644
--- a/core/src/main/kotlin/Formats/HtmlTemplateService.kt
+++ b/core/src/main/kotlin/Formats/HtmlTemplateService.kt
@@ -19,6 +19,7 @@ interface HtmlTemplateService {
override fun appendHeader(to: StringBuilder, title: String?, basePath: Path) {
to.appendln("<HTML>")
to.appendln("<HEAD>")
+ to.appendln("<meta charset=\"UTF-8\">")
if (title != null) {
to.appendln("<title>$title</title>")
}