diff --git a/doc/README.md b/doc/README.md
index 5260931..df67035 100644
--- a/doc/README.md
+++ b/doc/README.md
@@ -30,6 +30,9 @@ var y = 3
- [ ] a
- [x] b
+- I am just a simple list
+- [x] checked
+- [ ] not checked
## Contribute
diff --git a/lib/renderer/toc-renderer.js b/lib/renderer/toc-renderer.js
index 9102028..ee05521 100644
--- a/lib/renderer/toc-renderer.js
+++ b/lib/renderer/toc-renderer.js
@@ -19,12 +19,14 @@ TocRenderer.prototype.heading = function (text, level) {
};
// TODO: move the to do list render to another file
-TocRenderer.prototype.listitem = function(text) {
+TocRenderer.prototype.listitem = function (text) {
if (/^\s*\[[x ]\]\s*/.test(text)) {
text = text
- .replace(/^\s*\[ \]\s*/, '')
- .replace(/^\s*\[x\]\s*/, '');
- return '