Fix HTML entities displayed in table of contents
This commit is contained in:
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…
x
Reference in New Issue
Block a user