Text from a view model rendered with razor in @ blocks is automatically html escaped.

 

See: https://blog.slaks.net/2011/01/dont-call-htmlencode-in-razor.html

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.