From 843bd355d25ebf2369aec79f98cb6704d38497e9 Mon Sep 17 00:00:00 2001 From: Misko Hevery Date: Fri, 9 Apr 2010 16:20:15 -0700 Subject: various bug fixes --- test/markupSpec.js | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'test/markupSpec.js') diff --git a/test/markupSpec.js b/test/markupSpec.js index e416b8ea..a1112490 100644 --- a/test/markupSpec.js +++ b/test/markupSpec.js @@ -47,6 +47,11 @@ describe("markups", function(){ expect(element.html()).toEqual(''); }); + it('should process all bindings when we have leading space', function(){ + compile(' {{a}}
{{b}}
'); + expect(sortedHtml(scope.$element)).toEqual('

'); + }); + }); -- cgit v1.2.3