diff options
author | Filip Zybała <fzybala@virtuslab.com> | 2020-04-15 11:53:07 +0200 |
---|---|---|
committer | Paweł Marks <Kordyjan@users.noreply.github.com> | 2020-04-23 13:31:17 +0200 |
commit | ef229b540d4585db2183b8e04c531d4e8eaf09c8 (patch) | |
tree | 632572f34133b1a3936d2399b47abcf33972f742 /plugins/base/src/main/kotlin/renderers | |
parent | 02a46b2035e6d7bf1b93b15d4d2e39933191b90d (diff) | |
download | dokka-ef229b540d4585db2183b8e04c531d4e8eaf09c8.tar.gz dokka-ef229b540d4585db2183b8e04c531d4e8eaf09c8.tar.bz2 dokka-ef229b540d4585db2183b8e04c531d4e8eaf09c8.zip |
Add charset to metadata.
Diffstat (limited to 'plugins/base/src/main/kotlin/renderers')
-rw-r--r-- | plugins/base/src/main/kotlin/renderers/html/HtmlRenderer.kt | 2 |
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" } |