Location: PHPKode > projects > Kirby CMS > bastianallgeier-kirbycms-4a3ac0a/kirby/parsers/defaults.php
<?php

// direct access protection
if(!defined('KIRBY')) die('Direct access is not allowed');

// create safe html
function html($text) {
  return str::html($text, false);
}

// shortcut for html
function h($text) {
  return html($text);
}

// create safe xml
function xml($text) {
  return str::xml($text);
}

// create multiline html
function multiline($text) {
  return nl2br(html($text));
}

Return current item: Kirby CMS