laravel/laravel — pull request #360 by akuzemchak (2012-02-24 02:22:17+00:00)
Title: Ability to set syntax for self-closing HTML tags

I used to be a full-time front-end developer, and I was always extremely picky about my code. Currently, some of Laravel's HTML helpers would produce invalid HTML if using an XHTML doctype, which would have really bugged me if I were still producing HTML 8 hours a day... and all because of the silly self-closing tag syntax rules of XHTML.

Nevertheless, I have added a config option in the strings file that allows developers to set the self-closing syntax for the HTML helpers that produce self-closing tags. I figure that Laravel is quite good about letting programmers write code the way they want to, that our front-end brethren should have some flexibility too.