Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rails layouts, error pages, and public/index now use HTML5.
The specification allows the character encoding meta tag to be removed if character encoding is set at the transport level (Content-Type), which Rails is doing. http://dev.w3.org/html5/html4-differences/#character-encoding Signed-off-by: Joshua Peek <josh@joshpeek.com>
- Loading branch information
Showing
5 changed files
with
0 additions
and
5 deletions.
There are no files selected for viewing
1 change: 0 additions & 1 deletion
1
railties/lib/rails/generators/erb/scaffold/templates/layout.html.erb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
railties/lib/rails/generators/rails/app/templates/public/404.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
railties/lib/rails/generators/rails/app/templates/public/422.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
railties/lib/rails/generators/rails/app/templates/public/500.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
railties/lib/rails/generators/rails/app/templates/public/index.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
38f6697
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Kewl. HTML5 supports. Yay
38f6697
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
HTML 5 but not XHTML 5.
And while rails helpers still generate xhtml tags (self closing img tag for instance), old gecko-based browsers won't display anything if content isn't served as application/xhtml+xml