Modifier: tidy


Returns a string with smart quotes, ellipsis characters, and dashes from Windows-1252 (commonly used in Word documents) replaced by their ASCII equivalents.

string: >
  “I see…”
{{ string | tidy }}
"I see..."

Additional Reading

Learn how to use and chain modifiers in the Antlers template guide.

Last modified on March 31, 2016