diff options
author | Marc Alexander <admin@m-a-styles.de> | 2017-12-23 13:23:01 +0100 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2017-12-23 13:23:01 +0100 |
commit | cb233c862babd5492d34ad8adcf384b28a28fb75 (patch) | |
tree | 4d301fcea7cec3438b91dba58b4539df423402fe /phpBB/phpbb/textformatter/s9e/factory.php | |
parent | e2e47a87c3a4517a02e3a10c0292effaa7f56179 (diff) | |
parent | 288def143cb8f594fd5c58d6a6dab07263a6c60e (diff) | |
download | forums-cb233c862babd5492d34ad8adcf384b28a28fb75.tar forums-cb233c862babd5492d34ad8adcf384b28a28fb75.tar.gz forums-cb233c862babd5492d34ad8adcf384b28a28fb75.tar.bz2 forums-cb233c862babd5492d34ad8adcf384b28a28fb75.tar.xz forums-cb233c862babd5492d34ad8adcf384b28a28fb75.zip |
Merge pull request #5036 from JoshyPHP/ticket/15442
[ticket/15442] Allow unsafe HTML in bbcode.html
Diffstat (limited to 'phpBB/phpbb/textformatter/s9e/factory.php')
-rw-r--r-- | phpBB/phpbb/textformatter/s9e/factory.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/textformatter/s9e/factory.php b/phpBB/phpbb/textformatter/s9e/factory.php index 15d0a5e3e5..5b1c89c4db 100644 --- a/phpBB/phpbb/textformatter/s9e/factory.php +++ b/phpBB/phpbb/textformatter/s9e/factory.php @@ -271,7 +271,7 @@ class factory implements \phpbb\textformatter\cache_interface // Add default BBCodes foreach ($this->get_default_bbcodes($configurator) as $bbcode) { - $configurator->BBCodes->addCustom($bbcode['usage'], $bbcode['template']); + $configurator->BBCodes->addCustom($bbcode['usage'], new UnsafeTemplate($bbcode['template'])); } if (isset($configurator->tags['QUOTE'])) { |