From de062b036fe2db913c52221b4c678f0274d09703 Mon Sep 17 00:00:00 2001 From: yflory Date: Tue, 5 Mar 2019 13:25:46 +0100 Subject: [PATCH] Fix HTML entities displayed in table of contents --- www/common/diffMarked.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/www/common/diffMarked.js b/www/common/diffMarked.js index 39df0d10e..0c7f5c57b 100644 --- a/www/common/diffMarked.js +++ b/www/common/diffMarked.js @@ -46,7 +46,8 @@ define([ href: '#', 'data-href': obj.id, title: obj.title - }, obj.title); + }); + a.innerHTML = obj.title; content.push(h('p.cp-md-toc-'+level, ['• ', a])); }); return h('div.cp-md-toc', content).outerHTML;