diff --git a/aspnetcore/mvc/views/razor.md b/aspnetcore/mvc/views/razor.md index 6d43231a59..0654fc4df7 100644 --- a/aspnetcore/mvc/views/razor.md +++ b/aspnetcore/mvc/views/razor.md @@ -138,17 +138,15 @@ C# expressions that evaluate to a string are HTML encoded. C# expressions that e @("Hello World") ``` -The code renders the following HTML: +The preceding code renders the following HTML: ```html <span>Hello World</span> ``` -The HTML is shown in the browser as: +The HTML is shown in the browser as plain text: -```html -Hello World -``` +<span>Hello World</span> `HtmlHelper.Raw` output isn't encoded but rendered as HTML markup.