-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Escape filter label consistently (#3192)
- Loading branch information
1 parent
bfa56e0
commit b700fc9
Showing
1 changed file
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
escape
filter should only be used when outputting inside an HTML attribute. I remember that I experienced some issues when having special characters and using escape like this when it was not needed (for instance if the text contains ampersand & character, escaping would modify it).