protected function getOpenTag($tag, array $attributes = array(), $selfClosing = false)
    {
        return '<' . htmlspecialchars($tag, ENT_QUOTES, 'ISO-8859-1') . $this->renderAttributes($attributes) . ($selfClosing && !$this->html5 ? '/' : '') . '>';
    }