Fixed typo: HTML 5 -> HTML5

This commit is contained in:
Ghouse Mohamed 2022-02-21 02:34:46 +05:30
parent ce1806d945
commit ea0685fee9
2 changed files with 3 additions and 3 deletions

View File

@ -338,7 +338,7 @@ Helpers that do something else, like `cache` or `content_for`, are not affected
#### Other Changes
* You no longer need to call `h(string)` to escape HTML output, it is on by default in all view templates. If you want the unescaped string, call `raw(string)`.
* Helpers now output HTML 5 by default.
* Helpers now output HTML5 by default.
* Form label helper now pulls values from I18n with a single value, so `f.label :name` will pull the `:name` translation.
* I18n select label on should now be :en.helpers.select instead of :en.support.select.
* You no longer need to place a minus sign at the end of a Ruby interpolation inside an ERB template to remove the trailing carriage return in the HTML output.

View File

@ -966,7 +966,7 @@ In addition to the above special tags, you can supply a final hash of standard H
#### Linking to Videos with the `video_tag`
The [`video_tag`][] helper builds an HTML 5 `<video>` tag to the specified file. By default, files are loaded from `public/videos`.
The [`video_tag`][] helper builds an HTML5 `<video>` tag to the specified file. By default, files are loaded from `public/videos`.
```erb
<%= video_tag "movie.ogg" %>
@ -1005,7 +1005,7 @@ This will produce:
#### Linking to Audio Files with the `audio_tag`
The [`audio_tag`][] helper builds an HTML 5 `<audio>` tag to the specified file. By default, files are loaded from `public/audios`.
The [`audio_tag`][] helper builds an HTML5 `<audio>` tag to the specified file. By default, files are loaded from `public/audios`.
```erb
<%= audio_tag "music.mp3" %>