I am developing a standard small ASP.NET MVC website which will be made multilingual using ASP.NET resource files.
My question is about the resource files. See if you have a block of text which should be shown in paragraphs, is it appropriate to add <p> tags inside your resource file text?
<p>
If not, what would be the best way to deal with it?
You can use the @Html.Raw method inside your view, e.g. @Html.Raw(STRING FROM RESX FILE HERE)
@Html.Raw
@Html.Raw(STRING FROM RESX FILE HERE)
1.4m articles
1.4m replys
5 comments
57.0k users