From 964cb2654a73c3c3733bc33de44e9695d25035f6 Mon Sep 17 00:00:00 2001 From: Kazuki Suda Date: Thu, 30 Aug 2018 21:08:33 +0900 Subject: [PATCH] Fix not to escape html in in-page headers (#10130) --- layouts/docs/baseof.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/docs/baseof.html b/layouts/docs/baseof.html index 0ddb3af7bb199..9e7e509999da6 100644 --- a/layouts/docs/baseof.html +++ b/layouts/docs/baseof.html @@ -56,7 +56,7 @@ headings.forEach(function(heading){ if(heading.id){ var a = document.createElement('a'); - a.text = heading.innerHTML; + a.innerHTML = heading.innerHTML; a.href = '#'+heading.id; a.classList.add('inpage_heading'); heading.innerHTML = '';