From dd687e2bf565c48d00e47f9af666cee4a2b9abd9 Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Wed, 17 Nov 2010 12:52:45 -0800 Subject: @returns description should support markdown --- docs/spec/collectSpec.js | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'docs/spec/collectSpec.js') 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 tion'}); + }); }); describe('@description', function(){ -- cgit v1.2.3