diff options
Diffstat (limited to 'docs/spec')
| -rw-r--r-- | docs/spec/collectSpec.js | 5 |
1 files changed, 5 insertions, 0 deletions
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(){ '<pre>\nangular.k\n</pre>' + '<p>asdf x</p>'); }); + + it('should replace text between two <pre></pre> tags', function() { + expect(collect.markdown('<pre>x</pre># One<pre>b</pre>')). + toEqual('<pre>x</pre><h1>One</h1><pre>b</pre>'); + }); }); describe('processNgDoc', function() { |
