diff options
| author | Peter Bacon Darwin | 2014-02-12 22:47:42 +0000 |
|---|---|---|
| committer | Peter Bacon Darwin | 2014-02-16 19:03:41 +0000 |
| commit | 06f2ba899fac8ad004bf65dce39a3b05e2387c0f (patch) | |
| tree | 7aaba1435396b48d1602a0b8b3c055ec75591dc3 /src/ngSanitize | |
| parent | 9f828a07dc63ed13bda991cc7cf21cae89b64948 (diff) | |
| download | angular.js-06f2ba899fac8ad004bf65dce39a3b05e2387c0f.tar.bz2 | |
docs(bike-shed-migration): fix invalid </file name=""> HTML in examples
Diffstat (limited to 'src/ngSanitize')
| -rw-r--r-- | src/ngSanitize/filter/linky.js | 2 | ||||
| -rw-r--r-- | src/ngSanitize/sanitize.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/ngSanitize/filter/linky.js b/src/ngSanitize/filter/linky.js index 666cd9d5..d5471b25 100644 --- a/src/ngSanitize/filter/linky.js +++ b/src/ngSanitize/filter/linky.js @@ -67,7 +67,7 @@ </tr> </table> </file> - </file name="protractor.js" type="protractor"> + <file name="protractor.js" type="protractor"> it('should linkify the snippet with urls', function() { expect(element(by.id('linky-filter')).element(by.binding('snippet | linky')).getText()). toBe('Pretty text with some links: http://angularjs.org/, us@somewhere.org, ' + diff --git a/src/ngSanitize/sanitize.js b/src/ngSanitize/sanitize.js index c67ee976..cad84e84 100644 --- a/src/ngSanitize/sanitize.js +++ b/src/ngSanitize/sanitize.js @@ -99,7 +99,7 @@ var $sanitizeMinErr = angular.$$minErr('$sanitize'); </table> </div> </file> - </file name="protractor.js" type="protractor"> + <file name="protractor.js" type="protractor"> it('should sanitize the html snippet by default', function() { expect(element(by.css('#bind-html-with-sanitize div')).getInnerHtml()). toBe('<p>an html\n<em>click here</em>\nsnippet</p>'); |
