Replace tabs with spaces

This commit is contained in:
Josh Bruce 2018-02-25 22:06:18 -05:00
parent 11f1645d51
commit 9f1342f668

View File

@ -26,11 +26,11 @@ renderer.heading = function (text, level) {
var escapedText = text.toLowerCase().replace(/[^\w]+/g, '-');
return `<h${level}>
<a name="'${escapedText}'" class="anchor" href="#${escapedText}">
<span class="header-link"></span>
</a>
${text}
</h${level}>`;
<a name="'${escapedText}'" class="anchor" href="#${escapedText}">
<span class="header-link"></span>
</a>
${text}
</h${level}>`;
};
// Run marked