I seem to be hitting a logical contradiction. I have a view with...
</br>
in the markup and when I load the page it shows a new line. Inspecting the source I can see a </br>
.
Then I put @Html.Raw("</br>")
and in the source I get </br>
However all the documentation says that by default razor will html encode all strings. So why does Html.Raw show an encoded string instead?
Shouldn't it be the other way around?
` instead. – Brainfeeder Jun 03 '13 at 08:49