--- url: https://developer.youcan.shop/themes/filters/strings/escape.md --- # Escape Escapes the HTML special characters in a string. The filter replaces them with their HTML entities. ## Example ```liquid {{ '

Tom & Jerry

' | escape }} ``` ::: tip Output ```html <p>Tom & Jerry</p> ``` :::