bad chars in title

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
10 years ago
Hi i have a little problem with chars in title in browser i see it right as "Vybavení Čistých Prostor" but as robot (in code) I see "Vybavení Čistých Prostor" same in meta description and etc..
Can anyone help me with this?
i found this in code
    <title>@Html.NopTitle(true)</title>
    <meta http-equiv="Content-type" content="text/html;charset=UTF-8" />
    <meta name="description" content="@(Html.NopMetaDescription())" />
    <meta name="keywords" content="@(Html.NopMetaKeywords())" />
    <meta name="generator" content="nopCommerce" />
    <meta name="robots" content="index, follow" />
    <meta name="author" content="nopCommerce" />
10 years ago
I found solution:
Open \Presentation\Nop.Web.Framework\UI\LayoutExtensions.cs
than change
            
return MvcHtmlString.Create(pageHeadBuilder.GenerateTitle(addDefaultTitle));

instead of
            
return MvcHtmlString.Create(html.Encode(pageHeadBuilder.GenerateTitle(addDefaultTitle)));
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.