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

Remove space, properly italicize

Difference in rendering --> https://gist.github.com/maclover7/a50ff9231eb825c39c77cd5858af6d9a

[ci skip]
This commit is contained in:
Jon Moss 2016-05-21 12:32:55 -04:00
parent 5ec889eb8b
commit ae7b5314f1
No known key found for this signature in database
GPG key ID: 7CE26AA47EFC5B12

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.