mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-16 20:05:14 +02:00
Updating after post does now work
This commit is contained in:
parent
fa8a09d977
commit
343f22e02f
3 changed files with 16 additions and 13 deletions
|
@ -15,7 +15,7 @@ function update_display_content(App $a)
|
|||
echo "<!DOCTYPE html><html><body>\r\n";
|
||||
echo "<section>";
|
||||
|
||||
$text = display_content($a, $profile_uid);
|
||||
$text = display_content($a, true, $profile_uid);
|
||||
$pattern = "/<img([^>]*) src=\"([^\"]*)\"/";
|
||||
$replace = "<img\${1} dst=\"\${2}\"";
|
||||
$text = preg_replace($pattern, $replace, $text);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue