summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Pott2016-01-25 14:08:59 (GMT)
committerAlex Pott2016-01-25 14:08:59 (GMT)
commite662dece8b49f5536a4708747faffa2504366fe5 (patch)
treeeaffdd247ff0cdcf7ce0d40ee871984eaeeaf20b
parent3e9a50d03deced30a7d07a7c5e21b913d221da3b (diff)
Issue #2579471 by walangitan, droplet, biguzis, thorandre, swentel: Allow more chars in "Limit allowed HTML tags" filter
-rw-r--r--core/modules/filter/src/Plugin/Filter/FilterHtml.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/filter/src/Plugin/Filter/FilterHtml.php b/core/modules/filter/src/Plugin/Filter/FilterHtml.php
index 63c22b3..63985ff 100644
--- a/core/modules/filter/src/Plugin/Filter/FilterHtml.php
+++ b/core/modules/filter/src/Plugin/Filter/FilterHtml.php
@@ -49,7 +49,7 @@ class FilterHtml extends FilterBase {
'#type' => 'textfield',
'#title' => $this->t('Allowed HTML tags'),
'#default_value' => $this->settings['allowed_html'],
- '#maxlength' => 1024,
+ '#maxlength' => 2048,
'#description' => $this->t('A list of HTML tags that can be used. By default only the <em>lang</em> and <em>dir</em> attributes are allowed for all HTML tags. Each HTML tag may have attributes which are treated as allowed attribute names for that HTML tag. Each attribute may allow all values, or only allow specific values. Attribute names or values may be written as a prefix and wildcard like <em>jump-*</em>. JavaScript event attributes, JavaScript URLs, and CSS are always stripped.'),
'#size' => 250,
'#attached' => array(