Feature Request - Ability to control if Util.RawHtml gets wrapped in a div
Hi
I have noticed that the following code
Util.RawHtml("<span>this is wrapped in a div test</span>").Dump(); Util.RawHtml("<span>this is again wrapped in a div test</span>").Dump();
will result in both Util.RawHtml contents be wrapped in a div as follows:
<div><span>this is wrapped in a div test</span></div><div><span>this is again wrapped in a div test</span></div></div>
This will be ok in most occasions but sometimes, if you want to control the output, could end messing up formatting (if you attempt to inject a css for styling purposes that is).
Would it be possible to add an option on Util.RawHtml so that it won't wrap its contents inside a div?
Cheers
Comments
Change your code to this: