diff --git a/docs/spec/collectSpec.js b/docs/spec/collectSpec.js index 8002e0d6..86af0810 100644 --- a/docs/spec/collectSpec.js +++ b/docs/spec/collectSpec.js @@ -19,6 +19,11 @@ describe('collect', function(){ '
\nangular.k\n' + '
asdf x
'); }); + + it('should replace text between two tags', function() { + expect(collect.markdown('x# One
b')). + toEqual('
x
b'); + }); }); describe('processNgDoc', function() {