Skip to content

Kirby 5.1.1

$kirby->smartypants()

Applies the smartypants rule on the text

$kirby->smartypants(string|null $text = null): string

Parameters

Name Type Default
$text stringornull null

Return type

string

This method modifies the existing $app object it is applied to and returns it again.

Parent class

Kirby\Cms\App