Skip to content

Document the escape Twig filter #1571

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions docs/dev/reference/twig/filters/e.md

This file was deleted.

7 changes: 3 additions & 4 deletions docs/dev/reference/twig/filters/escape.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
---
title: escape - Twig Filter
linkTitle: escape
description:
description: The escape filter escapes a string using strategies that depend on the context.
tags: [Twig]
---

{{% notice "note" %}}
This is not yet documented.
{{% /notice %}}
Contao overrides [Twig's default `escape` filter](https://twig.symfony.com/doc/3.x/filters/escape.html) in order to
support `ChunckedText` from [insert tags]({{% ref insert-tags %}}) and to employ its own escaper strategies.