Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I have the following code in my razor view..
var mcustomBrowserTitle = Model.Content.GetPropertyValue<string>("browserTitle");
In Backoffice, I may put in a value like this into the RTE...
Cats & Dogs
...But when it gets rendered in the browser tab on the front-end of the site, it appears like this...
Cats & Dogs
What can I check or adjust, this way I can render special characters correctly on the front end.
According to the expert, this is the way to go:
@Html.Raw(mcustomBrowserTitle)
That will ensure the HTML gets output and doesn't get encoded.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
How to render special characters correctly on the front-end
I have the following code in my razor view..
In Backoffice, I may put in a value like this into the RTE...
...But when it gets rendered in the browser tab on the front-end of the site, it appears like this...
What can I check or adjust, this way I can render special characters correctly on the front end.
According to the expert, this is the way to go:
That will ensure the HTML gets output and doesn't get encoded.
is working on a reply...