aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb
diff options
context:
space:
mode:
authorJoshyPHP <s9e.dev@gmail.com>2015-02-20 06:03:05 +0100
committerJoshyPHP <s9e.dev@gmail.com>2015-04-02 19:16:02 +0200
commit3e5ee87b15c70fbfc246b6d8f6d18a186d11d83a (patch)
tree17093c45ebbbd3478db469d756c74e2cf56c7ca1 /phpBB/phpbb
parent93c53ed52da7ec2e26bf97b3cc5bba1f1ca403bb (diff)
downloadforums-3e5ee87b15c70fbfc246b6d8f6d18a186d11d83a.tar
forums-3e5ee87b15c70fbfc246b6d8f6d18a186d11d83a.tar.gz
forums-3e5ee87b15c70fbfc246b6d8f6d18a186d11d83a.tar.bz2
forums-3e5ee87b15c70fbfc246b6d8f6d18a186d11d83a.tar.xz
forums-3e5ee87b15c70fbfc246b6d8f6d18a186d11d83a.zip
[ticket/11768] Allowed text in places where text is not valid HTML
PHPBB3-11768
Diffstat (limited to 'phpBB/phpbb')
-rw-r--r--phpBB/phpbb/textformatter/s9e/factory.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/phpBB/phpbb/textformatter/s9e/factory.php b/phpBB/phpbb/textformatter/s9e/factory.php
index 557645b0d6..a6639976c4 100644
--- a/phpBB/phpbb/textformatter/s9e/factory.php
+++ b/phpBB/phpbb/textformatter/s9e/factory.php
@@ -162,6 +162,9 @@ class factory implements \phpbb\textformatter\cache
// Convert newlines to br elements by default
$configurator->rootRules->enableAutoLineBreaks();
+ // Don't automatically ignore text in places where text is not allowed
+ $configurator->rulesGenerator->remove('IgnoreTextIfDisallowed');
+
// Set the rendering engine and configure it to save to the cache dir
$configurator->rendering->engine = 'PHP';
$configurator->rendering->engine->cacheDir = $this->cache_dir;