docs: function htmlSanitizer(html, needHtmlText) {
    const $html = $('<div />');
  
    html = html.replace(/<!--[\s\S]*?-->/g, '');
  
    $html.append(html);
  
    removeUnnecessaryTags($html);
    leaveOnlyWhitelistAttribute($html);
  
    return finalizeHtml($html, needHtmlText);
  }