html($text, $keepTags = true)

Converts any text to valid HTML

Example

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