ivaynberg/select2 — pull request #444 by kevin-brown (2012-09-24 21:39:04+00:00)
Title: Fixes 424: Improved Placeholder Detection

This fixes the issue in #424 where the value was blank, but it had text for the option. This will automatically be selected as the default, as that is what the browser would normally do and is the default option without it.

A blank value with text in the tag is commonly used in frameworks such as Django. It previously showed no text, instead of showing the provided text, and did not generate or any errors.