Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 1.1 KB

CHANGELOG.md

File metadata and controls

30 lines (21 loc) · 1.1 KB
  • Raw template handler (which is also the default template handler in Rails 5) now outputs HTML-safe strings.

    In Rails 5 the default template handler was changed to the raw template handler. Because the ERB template handler escaped strings by default this broke some applications that expected plain JS or HTML files to be rendered unescaped. This fixes the issue caused by changing the default handler by changing the Raw template handler to output HTML-safe strings.

    Eileen M. Uchitelle

  • 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:

    <option value=""></option>

    Generation of option after:

    <option value="" label=" "></option>

    Vipul A M

Please check 5-0-stable for previous changes.