aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/textformatter
diff options
context:
space:
mode:
authorJoshyPHP <s9e.dev@gmail.com>2015-06-27 12:33:44 +0200
committerJoshyPHP <s9e.dev@gmail.com>2015-06-27 12:33:44 +0200
commit353b3b4cfd7133ea0cef4a7fdb34d0451b16a0dd (patch)
treeda03bdea38ddc1b5475d3cbe04adb81cf5dc43a0 /phpBB/phpbb/textformatter
parent9e117a9eeb1958c7a8155c2e4912d4e3537f3dee (diff)
downloadforums-353b3b4cfd7133ea0cef4a7fdb34d0451b16a0dd.tar
forums-353b3b4cfd7133ea0cef4a7fdb34d0451b16a0dd.tar.gz
forums-353b3b4cfd7133ea0cef4a7fdb34d0451b16a0dd.tar.bz2
forums-353b3b4cfd7133ea0cef4a7fdb34d0451b16a0dd.tar.xz
forums-353b3b4cfd7133ea0cef4a7fdb34d0451b16a0dd.zip
[ticket/13970] Save the value of the optional [code] parameter
PHPBB3-13970
Diffstat (limited to 'phpBB/phpbb/textformatter')
-rw-r--r--phpBB/phpbb/textformatter/s9e/factory.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/textformatter/s9e/factory.php b/phpBB/phpbb/textformatter/s9e/factory.php
index e07a1b52ca..7ad728e6cc 100644
--- a/phpBB/phpbb/textformatter/s9e/factory.php
+++ b/phpBB/phpbb/textformatter/s9e/factory.php
@@ -66,7 +66,7 @@ class factory implements \phpbb\textformatter\cache_interface
protected $default_definitions = array(
'attachment' => '[ATTACHMENT index={NUMBER} filename={TEXT;useContent}]',
'b' => '[B]{TEXT}[/B]',
- 'code' => '[CODE]{TEXT}[/CODE]',
+ 'code' => '[CODE lang={IDENTIFIER;optional}]{TEXT}[/CODE]',
'color' => '[COLOR={COLOR}]{TEXT}[/COLOR]',
'email' => '[EMAIL={EMAIL;useContent} subject={TEXT;optional;postFilter=rawurlencode} body={TEXT;optional;postFilter=rawurlencode}]{TEXT}[/EMAIL]',
'flash' => '[FLASH={NUMBER1},{NUMBER2} width={NUMBER1;postFilter=#flashwidth} height={NUMBER2;postFilter=#flashheight} url={URL;useContent} /]',