aboutsummaryrefslogtreecommitdiff
path: root/plugins/base
diff options
context:
space:
mode:
authorFilip Zybała <fzybala@virtuslab.com>2020-04-15 11:53:07 +0200
committerPaweł Marks <Kordyjan@users.noreply.github.com>2020-04-23 13:31:17 +0200
commitef229b540d4585db2183b8e04c531d4e8eaf09c8 (patch)
tree632572f34133b1a3936d2399b47abcf33972f742 /plugins/base
parent02a46b2035e6d7bf1b93b15d4d2e39933191b90d (diff)
downloaddokka-ef229b540d4585db2183b8e04c531d4e8eaf09c8.tar.gz
dokka-ef229b540d4585db2183b8e04c531d4e8eaf09c8.tar.bz2
dokka-ef229b540d4585db2183b8e04c531d4e8eaf09c8.zip
Add charset to metadata.
Diffstat (limited to 'plugins/base')
-rw-r--r--plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt b/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt
index 205897a4..23ba0676 100644
--- a/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt
+++ b/plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt
@@ -306,7 +306,7 @@ open class HtmlRenderer(
open fun buildHtml(page: PageNode, resources: List<String>, content: FlowContent.() -> Unit) =
createHTML().html {
head {
- meta(name = "viewport", content = "width=device-width, initial-scale=1")
+ meta(name = "viewport", content = "width=device-width, initial-scale=1", charset = "UTF-8")
title(page.name)
with(resources) {
filter { it.substringBefore('?').substringAfterLast('.') == "css" }