Fix HTML entities displayed in table of contents

pull/1/head
yflory 6 years ago
parent 47f49c3628
commit de062b036f

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

Loading…
Cancel
Save