<?php

namespace GriffinForms\Admin\Html\Elements\Submission;

class InputUrl extends \GriffinForms\Admin\Html\Elements\Submission\Format
{
    public function getHtml()
    {
        echo '<div class="' . esc_attr($this->input_class) . '">';

        echo '<a href="' . esc_url($this->field_value) . '">';
        echo wp_kses_post($this->field_value);
        echo '</a>';

        echo '</div>';
    }
}