public static function specialchars($value) { return htmlspecialchars($value, ENT_QUOTES, static::encoding(), false); }
function __construct() { parent::__construct("feed"); /* Set feed ID and self link. */ $this->id(html::specialchars(url::abs_current())); $this->link()->rel("self")->href(url::abs_current()); }