1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Merge pull request #25101 from maclover7/jm-rm-space-1

Remove space, properly italicize
This commit is contained in:
Kasper Timm Hansen 2016-05-21 18:36:46 +02:00
commit 571d563813

View file

@ -1,19 +1,19 @@
* `select_tag`'s `include_blank` option for generation for blank option tag, now adds an empty space label,
* `select_tag`'s `include_blank` option for generation for blank option tag, now adds an empty space label,
when the value as well as content for option tag are empty, so that we confirm with html specification.
Ref: https://www.w3.org/TR/html5/forms.html#the-option-element.
Generation of option before:
```html
<option value=""></option>
```
Generation of option after:
Generation of option after:
```html
<option value="" label=" "></option>
```
*Vipul A M *
*Vipul A M*
Please check [5-0-stable](https://github.com/rails/rails/blob/5-0-stable/actionview/CHANGELOG.md) for previous changes.