After a few tests had issues with the internal browser and select inputs I decided to investigate. After talking with chx in IRC we found that the issue lies with a single character being inserted.
The original code:
if ($option['selected'] || (!$first && $single)) {
corrected:
if ($option['selected'] || ($first && $single)) {
The appears to fix several issues.
Comments
Comment #1
chx commentedComment #2
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.