docs(index.html): update config

This commit is contained in:
qingwei.li 2017-03-12 08:27:29 +08:00
commit ceafc37bb3
7 changed files with 38 additions and 111 deletions

View file

@ -75,7 +75,7 @@ renderer.link = function (href, title, text) {
if (title) {
title = ` title="${title}"`
}
return `<a href="${href}"${title}${blank}>${text}</a>`
return `<a href="${href}"${title || ''}${blank}>${text}</a>`
}
renderer.paragraph = function (text) {
if (/^!&gt;/.test(text)) {