<div class="message <?= $escape->attr($message_type) ?>"> <span class="icon"></span> <?= $escape->html($message) ?> <span class="close"></span> </div>