[#32645] JHtmlSelect class: If option's label ends with a hyphen, that hyphen is missing.

Joomla Code's tracker: http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_id=8103&tracker_item_id=32645