Fixes #32645 Trailing hyphen is removed in JHTML::_('select.options')
Merge pull request #3802 from Achal-Aggarwal/fix-32645

Fixes #32645 Trailing hyphen is removed in JHTML::_('select.options')