Custom Menu and Swedish characters

If you have questions about using mojoPortal, you can post them here.

You may want to first review our site administration documentation to see if your question is answered there.

8/24/2026 1:23:17 PM
Gravatar
Total Posts 20

Custom Menu and Swedish characters

I can't get the "custom menu" to use Swedish character. Instead of ä I get &#228: . The default "main menu" works fine.

11/5/2026 1:43:24 PM
Gravatar
Total Posts 103

mojoPortal Hosting & Design @ i7MEDIA!

Re: Custom Menu and Swedish characters

ASP.NET MVC View files (.cshtml) always directly print encoded HTML entities, it's a security measure.

In order to make the character print correctly, you will need to update the "_CustomMenu.cshtml" file.

You can find the file by starting the in the root of the site and navigating to /Views/Common/_CustomMenu.cshtml

Change any case of @item.Name to @Html.Raw(item.Name)  and then save.

This should make the entity output as HTML properly.

Thanks,

Elijah