DarthFubuMVC/htmltags — pull request #37 by chrisortman (2012-10-11 20:59:41+00:00)
Title: Br support

First commit will add the BrTag
Second commit will make it so that BrTag gets used even if you do new HtmlTag("br")

I'm not so sure if the 2nd there is desirable or not, possibly it could break existing code if someone was putting child elements or attributes on their
tags, but that's just wrong anyway...

Not sure what I like about the static configuration property, figured it would be easiest to just set in layout or _ViewStart and just be done with it.

The rendering behavior of the tag is controlled by the HtmlTextWriter, so another way we could skin this cat is to create a FubuHtmlTextWriter and register the tag differently. This would eliminate the if(_tag=="br") check in HtmlTag which isn't something I'm terribly proud of, but this way was just easier to start with.