Fix HTML entities displayed in table of contents
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…
Reference in New Issue