Metatag Description - Special characters - Influence on SEO

Asked

Viewed 122 times

0

My metatag description is composed of a text, which had accents. I create it in mine Controller MVC and sending to view via viewbag.

However, in my html text (via display page source code) is getting the different encoding, ie the accents saw those codes. For example:
Original text: Producer’s Event at 10 Kirkpatrick St, until N...
Generated Text: Producer’s Event at 10 Kirkpatrick St, at&#233...

Question: Should I worry about it? Should I fix it? If yes, how?
Robots would interpret the information independent of the coding used?

1 answer

0

The solution is simple. Just add the helper @Html.Raw

See example:
<meta name="description" content="@Html.Raw(ViewBag.description)" />

Browser other questions tagged

You are not signed in. Login or sign up in order to post.