Merge branch 'live' into main
commit
4c3fb66685
|
@ -138,17 +138,15 @@ C# expressions that evaluate to a string are HTML encoded. C# expressions that e
|
|||
@("<span>Hello World</span>")
|
||||
```
|
||||
|
||||
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
|
||||
<span>Hello World</span>
|
||||
```
|
||||
<span>Hello World</span>
|
||||
|
||||
`HtmlHelper.Raw` output isn't encoded but rendered as HTML markup.
|
||||
|
||||
|
|
Loading…
Reference in New Issue