diff --git a/lib/builder.js b/lib/builder.js index 03a17436..d194ae17 100644 --- a/lib/builder.js +++ b/lib/builder.js @@ -690,20 +690,15 @@ YUI.add('doc-builder', function (Y) { Y.each(i, function (v, k) { if (k === 'final') { o[k1][k] = true; - } - if (k === 'description' || k === 'example') { - if (k1 === 'return') { - o[k1][k] = self.markdown(v); - } else if (v.forEach || (v instanceof Object)) { + } else if (k === 'description' || k === 'example') { + if (v.forEach || (v instanceof Object)) { o[k1][k] = self.augmentData(v); } else { - //o[k1][k] = markdown(v, true, self.defaultTags); o[k1][k] = self.markdown(v); } } }); } else if (k1 === 'description' || k1 === 'example') { - //o[k1] = markdown(i, true, self.defaultTags); o[k1] = self.markdown(i); } });