Update README
This commit is contained in:
@@ -223,7 +223,7 @@ let fruit = ["Orange", "Apple"]
|
|||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
\for item in fruit:
|
\for item in fruit:
|
||||||
<li>\fruit</li>
|
<li>\item</li>
|
||||||
</ul>
|
</ul>
|
||||||
</p>
|
</p>
|
||||||
```
|
```
|
||||||
@@ -243,6 +243,14 @@ let navigator =
|
|||||||
</nav>
|
</nav>
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### HTML escaping
|
||||||
|
|
||||||
|
If you want to ascape any value to avoid rendering dynamic data as HTML elements, you can use the `escape` operator
|
||||||
|
|
||||||
|
```
|
||||||
|
escape(<p>Hello, world!</p>)
|
||||||
|
```
|
||||||
|
|
||||||
### File inclusion
|
### File inclusion
|
||||||
|
|
||||||
You can include files using the `include` keyword.
|
You can include files using the `include` keyword.
|
||||||
|
|||||||
Reference in New Issue
Block a user