Please sign in to comment.
Don't self-close img, or link when using Rails helpers.
- Loading branch information...
Showing with 36 additions and 4 deletions.
|@@ -1,13 +1,17 @@|
|Html5 on Rails|
|+by Daniel Morrison, Collective Idea|
|This plugin is a bit of a playground to see what html goodies we can do. I'm implementing things as I desire them, and not in any normal order.|
|-<link href="/stylesheets/boilerplate.css?1238073247" media="all" rel="stylesheet" />|
|+<link href="/stylesheets/main.css" media="all" rel="stylesheet">|
|+Don't self-close tags. This allows us to have <img src="foo.png"> instead of <img src="foo.png" />. Of course you'll need that if you're serving your pages as application/xhtml+xml, but if you know what that means, you'll probably know how to override it.|
|Copyright (c) 2009 Collective Idea, released under the MIT license|
|@@ -1,2 +1,2 @@|
|-# Include hook code here|
|+::SKIP_SELF_CLOSE_TAGS = true|