Fixed compose

This commit is contained in:
Jori Lallo
2016-09-02 15:52:38 -07:00
parent 3b6c620e58
commit 0565727825

View File

@ -27,7 +27,7 @@ renderer.heading = (text, level) => {
const convertToMarkdown = (text) => {
// Add TOC
text = toc.insert(text, {
text = toc.insert(text || '', {
slugify: (heading) => {
// FIXME: E.g. `&` gets messed up
const headingSlug = _.escape(slug(heading));