Fix HTML entities displayed in table of contents

pull/1/head
yflory 2019-03-05 13:25:46 +01:00
parent 47f49c3628
commit de062b036f
1 changed files with 2 additions and 1 deletions

View File

@ -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;