There's some way to cut the html tags with self-closing slash like <br/>
and transform it to <br>
so you can view on the source view the code without the slash?
Some DOM Jquery implementation?
I'm working on .NET if this can be help as a tip.
This is the real problem: NET-enabling start-tag requires SHORTTAG YES
In your other question, DaveB's answer points to a browser capabilities file. In that file the tagWriter
is set toSystem.Web.UI.HtmlTextWriter
.
I haven't tested this, but you may be able to sub-class System.Web.UI.HtmlTextWriter
and initialse the value of the SelfClosingTagEnd
field so that its value is >
instead of />
.
Put the name of the new class in the tagWriter
setting of your browser capabilities file and try that.