mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
parent
c12bb56d6b
commit
ce5195fe04
@ -8,6 +8,7 @@
|
||||
- Release v2.1.5-2023.07 🎉
|
||||
- Fix RFC 1918 RegExp [\#210](https://github.com/torrentpier/torrentpier-lts/pull/210) ([belomaxorka](https://github.com/belomaxorka))
|
||||
- Maked max smilies in PM configurable [\#211](https://github.com/torrentpier/torrentpier-lts/pull/211) ([belomaxorka](https://github.com/belomaxorka))
|
||||
- Minor improvements [\#212](https://github.com/torrentpier/torrentpier-lts/pull/212) ([belomaxorka](https://github.com/belomaxorka))
|
||||
|
||||
## [v2.1.5-2023.06](https://github.com/torrentpier/torrentpier-lts/tree/v2.1.5-2023.06) (2023-07-04)
|
||||
[Full Changelog](https://github.com/torrentpier/torrentpier-lts/compare/v2.1.5-2023.05...v2.1.5-2023.06)
|
||||
|
@ -794,8 +794,8 @@ class bbcode
|
||||
}
|
||||
if ($this->smilies)
|
||||
{
|
||||
$parsed_text = preg_replace($this->smilies['orig'], $this->smilies['repl'], $text, 101, $smilies_cnt);
|
||||
$text = ($smilies_cnt <= 100) ? $parsed_text : $text;
|
||||
$parsed_text = preg_replace($this->smilies['orig'], $this->smilies['repl'], $text);
|
||||
$text = $parsed_text;
|
||||
}
|
||||
|
||||
return $text;
|
||||
|
Loading…
Reference in New Issue
Block a user