Skip to content

Commit 0a65e1f

Browse files
daviddottofdintino
authored andcommittedJan 12, 2019
Fixes for replace example
Replace example set a string variable but was never used, fixed to put replace example in line with following and preceding replace example
1 parent 2946fb4 commit 0a65e1f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎docs/templating.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1436,13 +1436,13 @@ and replacing them surrounding an item:
14361436

14371437
```jinja
14381438
{% set letters = aaabbbccc%}
1439-
{{ "letters" | replace("", ".") }}
1439+
{{ letters | replace("", ".") }}
14401440
```
14411441

14421442
**Output**
14431443

14441444
```jinja
1445-
.l.e.t.t.e.r.s.
1445+
.a.a.a.b.b.b.c.c.c.
14461446
14471447
```
14481448

0 commit comments

Comments
 (0)
Please sign in to comment.