From ca01f7a9210f9db508ba4e3937c193ceeb4275c4 Mon Sep 17 00:00:00 2001 From: Kazuhiro MUSASHI Date: Sun, 19 Jan 2020 14:25:44 +0800 Subject: [PATCH] Disable ra html rendering. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [Hugo v0\.60\.0 更新後、Markdown に HTML を入れている場合。](https://blog.balloon.im/2019/11/hugo-v0.60.0-%E6%9B%B4%E6%96%B0%E5%BE%8Cmarkdown-%E3%81%AB-html-%E3%82%92%E5%85%A5%E3%82%8C%E3%81%A6%E3%81%84%E3%82%8B%E5%A0%B4%E5%90%88/) --- config/_default/config.toml | 4 ++++ config/staging/config.toml | 3 +++ 2 files changed, 7 insertions(+) diff --git a/config/_default/config.toml b/config/_default/config.toml index 1df9b32..b199a7a 100644 --- a/config/_default/config.toml +++ b/config/_default/config.toml @@ -11,3 +11,7 @@ theme = "angels-ladder" profile = "/images/profile.png" analytics = "UA-57665492-1" copyright = "Written by Kazuhiro MUSASHI" + + +[markup.goldmark.renderer] + unsafe = true diff --git a/config/staging/config.toml b/config/staging/config.toml index 3e4b4ed..7202858 100644 --- a/config/staging/config.toml +++ b/config/staging/config.toml @@ -11,3 +11,6 @@ theme = "angels-ladder" profile = "/images/profile.png" analytics = "UA-57665492-1" copyright = "Written by Kazuhiro MUSASHI" + +[markup.goldmark.renderer] + unsafe = true