Skip to content

Commit

Permalink
Fixes for replace example
Browse files Browse the repository at this point in the history
Replace example set a string variable but was never used, fixed to put replace example in line with following and preceding replace example
  • Loading branch information
daviddotto authored and fdintino committed Jan 12, 2019
1 parent 2946fb4 commit 0a65e1f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/templating.md
Original file line number Diff line number Diff line change
Expand Up @@ -1436,13 +1436,13 @@ and replacing them surrounding an item:

```jinja
{% set letters = aaabbbccc%}
{{ "letters" | replace("", ".") }}
{{ letters | replace("", ".") }}
```

**Output**

```jinja
.l.e.t.t.e.r.s.
.a.a.a.b.b.b.c.c.c.
```

Expand Down

0 comments on commit 0a65e1f

Please sign in to comment.