You are here

public static function Html::escape in Site Audit 8.3

1 call to Html::escape()
ContentDuplicateTitles::calculateScore in src/Plugin/SiteAuditCheck/ContentDuplicateTitles.php
.

File

src/Renderer/Html.php, line 363

Class

Html

Namespace

Drupal\site_audit\Renderer

Code

public static function escape($text) {
  return htmlspecialchars($text, ENT_QUOTES, 'UTF-8');
}