Skip to content

Commit

Permalink
Update CommentsCrud.php
Browse files Browse the repository at this point in the history
  • Loading branch information
bobimicroweber committed Mar 9, 2022
1 parent 80eabc2 commit a15da37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MicroweberPackages/Comment/Models/CommentsCrud.php
Expand Up @@ -58,7 +58,7 @@ public function get($params = false)
$item['comment_body'] = str_replace('{SITE_URL}', $surl, $item['comment_body']);

$clearInput = new HTMLClean();
$comments[$i]['comment_body'] = $clearInput->clean($item['comment_body']);
$comments[$i]['comment_body'] = $clearInput->onlyTags($item['comment_body']);
}

if (isset($params['single'])) {
Expand Down

0 comments on commit a15da37

Please sign in to comment.