mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-17 13:00:20 +02:00
Merge branch '3.2.x'
This commit is contained in:
commit
d882911bf5
@ -142,6 +142,7 @@ class parser implements \phpbb\textformatter\parser_interface
|
|||||||
public function disable_smilies()
|
public function disable_smilies()
|
||||||
{
|
{
|
||||||
$this->parser->disablePlugin('Emoticons');
|
$this->parser->disablePlugin('Emoticons');
|
||||||
|
$this->parser->disablePlugin('Emoji');
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -183,6 +184,7 @@ class parser implements \phpbb\textformatter\parser_interface
|
|||||||
public function enable_smilies()
|
public function enable_smilies()
|
||||||
{
|
{
|
||||||
$this->parser->enablePlugin('Emoticons');
|
$this->parser->enablePlugin('Emoticons');
|
||||||
|
$this->parser->enablePlugin('Emoji');
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
18
tests/text_processing/tickets_data/PHPBB3-15008.before.php
Normal file
18
tests/text_processing/tickets_data/PHPBB3-15008.before.php
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
<?php
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* This file is part of the phpBB Forum Software package.
|
||||||
|
*
|
||||||
|
* @copyright (c) phpBB Limited <https://www.phpbb.com>
|
||||||
|
* @license GNU General Public License, version 2 (GPL-2.0)
|
||||||
|
*
|
||||||
|
* For full copyright and license information, please see
|
||||||
|
* the docs/CREDITS.txt file.
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
|
||||||
|
function before_assert_phpbb3_15008($vars)
|
||||||
|
{
|
||||||
|
extract($vars);
|
||||||
|
$parser->disable_smilies();
|
||||||
|
}
|
1
tests/text_processing/tickets_data/PHPBB3-15008.html
Normal file
1
tests/text_processing/tickets_data/PHPBB3-15008.html
Normal file
@ -0,0 +1 @@
|
|||||||
|
No smilies :) or shortnames :strawberry:
|
1
tests/text_processing/tickets_data/PHPBB3-15008.txt
Normal file
1
tests/text_processing/tickets_data/PHPBB3-15008.txt
Normal file
@ -0,0 +1 @@
|
|||||||
|
No smilies :) or shortnames :strawberry:
|
Loading…
x
Reference in New Issue
Block a user