Fix for tab-indented comments #35

Closed
wants to merge 1 commit into from
+1 −1
View
2 lib/dox/index.js
@@ -259,7 +259,7 @@ var render = exports.render = function(str, file){
// Support @ignore and --private
if (utils.ignore(part) || (utils.isPrivate(part) && !showPrivate)) continue;
- var part = part.replace(/^ *\* ?/gm, '');
+ part = part.replace(/^[ \t]*\* ?/gm, '');
blocks.push({
comment: markdown.toHTML(utils.toMarkdown(part)),
code: koala.render(".js", utils.escape(next))