From 2cb9497d02afdcfc19ea52fddcd6d1f04d81ffdb Mon Sep 17 00:00:00 2001 From: Misko Hevery Date: Tue, 12 Oct 2010 21:52:04 -0700 Subject: Fixed issue where compiler would pass in detached text node if previous markup would have removed it. --- src/markups.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/markups.js') diff --git a/src/markups.js b/src/markups.js index f63dd146..159d7b12 100644 --- a/src/markups.js +++ b/src/markups.js @@ -52,8 +52,8 @@ angularTextMarkup('{{}}', function(text, textNode, parentElement) { cursor.after(newElement); cursor = newElement; }); + textNode.remove(); } - textNode.remove(); } }); -- cgit v1.2.3