"Presentation\Nop.Web\Views\Shared\_Root.Head.cshtml"
<head>
<title>@Html.NopTitle()</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="viewport" content="width=device-width, initial-scale=1" />
@Html.NopHeadCustom()
I also tried hardcoding the values like the below code but still somehow the spaces after comma is being removed.
<head>
<title>@Html.NopTitle()</title>
<meta http-equiv="Content-type" content="text/html;charset=UTF-8" />
<meta name="description" content="@(Html.NopMetaDescription())" />
<meta name="keywords" content="abc, 123, xyz" />
<meta name="generator" content="nopCommerce" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
@Html.NopHeadCustom()
However, this is not the case with meta description tag. I tried to compare the code for both NopMetaDescription and NopMetaKeywords but did not find any differences.
So, if anybody have any idea about the actual code where this logic has been written. My SEO guy has told me that there are some issues in crawling with the keywords without spaces so, need to add spaces.