Hi
In html templates, it is possible to add .StripHtml().HtmlDecoded().Crop(100) to a tag, to avoid breaking of nordic charachters like Æ and Ø
How can i do this in razor to a variable that is declared like this?
string Description = product.GetString("Ecom:Product.ShortDescription");
and called like this
@WrapMethods.Truncate(product.GetString("Ecom:Product.ShortDescription"), 40)
As you can see this is a wrap solution, but it is a general Razor question.
regards, Hans