mirror of
https://github.com/friendica/friendica
synced 2025-04-30 15:04:23 +02:00
Use full text search
This commit is contained in:
parent
fac76a33df
commit
508d84b2b7
10 changed files with 173 additions and 121 deletions
|
@ -230,6 +230,7 @@ class BBCode
|
|||
{
|
||||
DI::profiler()->startRecording('rendering');
|
||||
// Remove pictures in advance to avoid unneeded proxy calls
|
||||
$text = preg_replace("/\[img\=([0-9]*)x([0-9]*)\](.*?)\[\/img\]/ism", ' ', $text);
|
||||
$text = preg_replace("/\[img\=(.*?)\](.*?)\[\/img\]/ism", ' $2 ', $text);
|
||||
$text = preg_replace("/\[img.*?\[\/img\]/ism", ' ', $text);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue