diff options
| author | Misko Hevery | 2011-04-29 14:43:43 -0700 |
|---|---|---|
| committer | Igor Minar | 2011-06-06 22:28:37 -0700 |
| commit | b6bc6c2ddf1ae1523ec7e4cb92db209cd6501181 (patch) | |
| tree | 7c3415a03732bdfc3ac630143936b2d31df91c82 /docs/spec/ngdocSpec.js | |
| parent | ea6b87c24ba70d2554c0f9a3e80b245dc3780234 (diff) | |
| download | angular.js-b6bc6c2ddf1ae1523ec7e4cb92db209cd6501181.tar.bz2 | |
fix syntax highlighting on the javascript
Diffstat (limited to 'docs/spec/ngdocSpec.js')
| -rw-r--r-- | docs/spec/ngdocSpec.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/spec/ngdocSpec.js b/docs/spec/ngdocSpec.js index 46b05aef..68d3700f 100644 --- a/docs/spec/ngdocSpec.js +++ b/docs/spec/ngdocSpec.js @@ -307,10 +307,10 @@ describe('ngdoc', function(){ describe('@description', function(){ it('should support pre blocks', function(){ - var doc = new Doc("@description <pre>abc</pre>"); + var doc = new Doc("@description <pre><b>abc</b></pre>"); doc.parse(); expect(doc.description). - toBe('<div ng:non-bindable><pre class="brush: js; html-script: true;">abc</pre></div>'); + toBe('<div ng:non-bindable><pre class="brush: js; html-script: true;"><b>abc</b></pre></div>'); }); it('should support multiple pre blocks', function() { @@ -318,10 +318,10 @@ describe('ngdoc', function(){ doc.parse(); expect(doc.description). toBe('<p>foo </p>' + - '<div ng:non-bindable><pre class="brush: js; html-script: true;">abc</pre></div>' + + '<div ng:non-bindable><pre class="brush: js;">abc</pre></div>' + '<h1>bah</h1>\n\n' + '<p>foo </p>' + - '<div ng:non-bindable><pre class="brush: js; html-script: true;">cba</pre></div>'); + '<div ng:non-bindable><pre class="brush: js;">cba</pre></div>'); }); |
