library/Comment/CommentsFilters.php
public function stripTags($comment_text, $comment)
    {
        $allowedTags = array(
            "<h1>", "<h2>", "<h3>", "<h4>",
            "<strong>","<b>",
            "<br>", "<hr>",
            "<em>",
            "<ol>","<ul>","<li>",
            "<p>", "<span>", "<a>", "<img>",
            "<del>", "<ins>",
            "<blockquote>"
        );

        $allowedAttributes = array('href', 'class', 'rel', 'id', 'src');

        return \Municipio\Helper\Html::stripTagsAndAtts($comment_text, $allowedTags, $allowedAttributes);
    }
public function stripTags($comment_text, $comment)
    {
        $allowedTags = array(
            "<h1>", "<h2>", "<h3>", "<h4>",
            "<strong>","<b>",
            "<br>", "<hr>",
            "<em>",
            "<ol>","<ul>","<li>",
            "<p>", "<span>", "<a>", "<img>",
            "<del>", "<ins>",
            "<blockquote>"
        );

        $allowedAttributes = array('href', 'class', 'rel', 'id', 'src');

        return \Municipio\Helper\Html::stripTagsAndAtts($comment_text, $allowedTags, $allowedAttributes);
    }
public function stripTags ( $ comment_text , $ comment ) { $ allowedTags = array ( "<h1>" , "<h2>" , "<h3>" , "<h4>" , "<strong>" , "<b>" , "<br>" , "<hr>" , "<em>" , "<ol>" , "<ul>" , "<li>" , "<p>" , "<span>" , "<a>" , "<img>" , "<del>" , "<ins>" , "<blockquote>" ) ; $ allowedAttributes = array ( 'href' , 'class' , 'rel' , 'id' , 'src' ) ; return \ Municipio \ Helper \ Html :: stripTagsAndAtts ( $ comment_text , $ allowedTags , $ allowedAttributes ) ; }
Strip html from comment
Strip html from comment