From 46d690ff0188836688811dda9af1b99c44750c48 Mon Sep 17 00:00:00 2001 From: Misko Hevery Date: Thu, 3 Feb 2011 16:35:51 -0800 Subject: smarter normalization of value on option, and htmlParser fixes --- src/markups.js | 33 +++++++++++++++++++-------------- 1 file changed, 19 insertions(+), 14 deletions(-) (limited to 'src/markups.js') diff --git a/src/markups.js b/src/markups.js index 0aa7170e..89cc0d05 100644 --- a/src/markups.js +++ b/src/markups.js @@ -57,21 +57,26 @@ angularTextMarkup('{{}}', function(text, textNode, parentElement) { } }); -// TODO: this should be widget not a markup -angularTextMarkup('OPTION', function(text, textNode, parentElement){ - if (nodeName_(parentElement) == "OPTION") { - var select = jqLite('