You are here

public function InstapageCmsPluginDrupal7Connector::escapeHTML in Instapage plugin 8.3

Same name and namespace in other branches
  1. 7.3 core/connectors/InstapageCmsPluginDrupal7Connector.php \InstapageCmsPluginDrupal7Connector::escapeHTML()

Properly escapes the HTML.

Parameters

string $html HTML to escape.:

Return value

string Escaped HTML.

File

core/connectors/InstapageCmsPluginDrupal7Connector.php, line 825

Class

InstapageCmsPluginDrupal7Connector
Class that utilizes native Drupal 7 functions to perform actions like remote requests and DB operations.

Code

public function escapeHTML($html) {
  return htmlspecialchars($html);
}