Skip to content Skip to footer navigation
You are reading the Statamic 6 Alpha docs. πŸ‘€

Tidy Modifier

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 }}
{{ Statamic::modify($string)->tidy() }}
"I see..."