smartypants($text)

Applies the SmartyPants Typographer on an HTML string

  • $text (string)
  • return (string)

Example

<?= smartypants($page->title()) ?>

Is something missing or incorrect? Edit this page on Github…