This project is archived and is in readonly mode.
[PATCH] Allow disabling of self-closing tags generation TagHelper#tag
-
Frederick Cheung
I'm not going to comment on the usefullness of such a patch, but at the very least it needs tests.
-
Andrew White
Save yourself sometime and read this thread:
http://groups.google.com/group/r...
Then go and do something more productive with your time.
If you still really want HTML4 output from rails then you'll need to write a plugin which patches
tagand also the handful of places in Rails that hardcode self closing tags, e.g:simple_format. -
Nathan de Vries
@Andrew White: How infuriating. Thanks for pointing me to your ticket and saving me some time. Kind of disappointing to see people referring to HTML 4.01 as "retarded", and being backed up by Rails-core guys. It's the equivalent of arguing that "foo unless bar" is somehow wrong because it's not enclosed in an "unless"/"end" statement.
I could have sworn the majority of the web development community had realised their overzealousness when it came to XHTML. Pity that's not the case.
