I use mvc4 and I use the Arabic language in the view (lang = "ar"), the text for saving the current code in the sql table is for example: مرحبامرحبا is stored in the sql table, but when it is read from the sql table, the output
مرحبا <\br> مرحبا
I want the result to be like this:
مرحبا
مرحبا
modelcar.CarDescription = modelcar.CarDescription .Replace(System.Environment.NewLine, "<br />"); AdvertFunObj.Add(modelcar);
view
<br /> <hr /><br /> الاضافات<span class="blue"><%:Model.CarDescription %></span><br />
source share