smartypants()
Enhances the given string with smartypants. Shortcut for $kirby->smartypants($text)
smartypants(string $text = null): string
Parameters
Name | Type | Default | Description |
---|---|---|---|
$text |
string |
null |
Return type
string
Example
<?= smartypants($page->title()) ?>