summaryrefslogtreecommitdiffstats
path: root/core/modules/filter/lib/Drupal/filter/Plugin/Filter/FilterHtmlEscape.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/filter/lib/Drupal/filter/Plugin/Filter/FilterHtmlEscape.php')
-rw-r--r--core/modules/filter/lib/Drupal/filter/Plugin/Filter/FilterHtmlEscape.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/core/modules/filter/lib/Drupal/filter/Plugin/Filter/FilterHtmlEscape.php b/core/modules/filter/lib/Drupal/filter/Plugin/Filter/FilterHtmlEscape.php
index f4a3694..24e3114 100644
--- a/core/modules/filter/lib/Drupal/filter/Plugin/Filter/FilterHtmlEscape.php
+++ b/core/modules/filter/lib/Drupal/filter/Plugin/Filter/FilterHtmlEscape.php
@@ -34,6 +34,14 @@ class FilterHtmlEscape extends FilterBase {
/**
* {@inheritdoc}
*/
+ public function getHTMLRestrictions() {
+ // Nothing is allowed.
+ return array('allowed' => array());
+ }
+
+ /**
+ * {@inheritdoc}
+ */
public function tips($long = FALSE) {
return t('No HTML tags allowed.');
}