twokul/htmlbars — pull request #2 by mixonic (2014-11-04 14:49:53+00:00)
Title: IE8 fix for auto selected first options in parsed html

Detect bad IE8 behavior and adjust. IE8 will add a literal attribute to an option that is auto selected. This means we must use a regex and string parsing to guess about if any option is actually selected. Since this method of determining auto selection is probably quirky and slower than the existing attribute check, we do this in a different code-path.