[build] 4.5.4

This commit is contained in:
qingwei.li 2017-11-29 09:46:18 +08:00
commit a1d2a1f1e3
9 changed files with 10 additions and 10 deletions

View file

@ -2982,7 +2982,7 @@ Compiler.prototype._initRenderer = function _initRenderer () {
if (checked) {
text = text.replace(CHECKED_RE, ("<input type=\"checkbox\" " + (checked[1] === 'x' ? 'checked' : '') + " />"));
}
return ("<li>" + text + "</li>\n")
return ("<li" + (checked ? " class=\"task-list-item\"" : '') + ">" + text + "</li>\n")
};
renderer.origin = origin;
@ -4063,7 +4063,7 @@ initGlobalAPI();
/**
* Version
*/
Docsify.version = '4.5.3';
Docsify.version = '4.5.4';
/**
* Run Docsify