smartypants($text)

Applies the SmartyPants Typographer on an HTML string

  • $text (string)
  • return (string)

Example

<?php echo smartypants($page->title()) ?>