aboutsummaryrefslogtreecommitdiffstats
path: root/docs/spec/collectSpec.js
diff options
context:
space:
mode:
Diffstat (limited to 'docs/spec/collectSpec.js')
-rw-r--r--docs/spec/collectSpec.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/spec/collectSpec.js b/docs/spec/collectSpec.js
index 7777e8f4..b61097f6 100644
--- a/docs/spec/collectSpec.js
+++ b/docs/spec/collectSpec.js
@@ -170,6 +170,11 @@ describe('collect', function(){
TAG.returns(doc, 'returns', '{string} descrip tion');
expect(doc.returns).toEqual({type: 'string', description: 'descrip tion'});
});
+
+ it('should transform description of @returns with markdown', function() {
+ TAG.returns(doc, 'returns', '{string} descrip *tion*');
+ expect(doc.returns).toEqual({type: 'string', description: 'descrip <em>tion</em>'});
+ });
});
describe('@description', function(){