--- url: https://developer.youcan.shop/themes/filters/strings/escapeOnce.md --- # Escape Once Escapes the HTML special characters in a string, and keeps the entities that are already escaped. ## Example ```liquid {{ '<p> Tom & Jerry' | escape_once }} ``` ::: tip Output ```html <p> Tom & Jerry ``` :::