Skip to content

Commit

Permalink
Dev: removed comment about raw filter
Browse files Browse the repository at this point in the history
  • Loading branch information
LouisGac committed Jan 19, 2017
1 parent 4134538 commit 8551eb0
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions templates/default/views/layout.twig
Expand Up @@ -47,9 +47,6 @@
To echo a variable, just do : {{ variable }}
To translate a string, just do : {{ string | t }}
If a variable contains HTML {{ myHtml }} will display the HTML as text on screen (the tag can be read).
To unescape the HTML, and get it interpreted by the navigator, just do: {{ myHtml | raw }}
(¯`·._.·(¯`·._.· Twig Engine: advanced ·._.·´¯)·._.·´¯)
Expand Down Expand Up @@ -142,5 +139,4 @@
</script>
</body>
</html>

<!-- end of startpage.twig -->

0 comments on commit 8551eb0

Please sign in to comment.