h($text, $keepTags = true)

Converts any text to valid HTML (shortcut for html())

Example

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