mirror of
https://github.com/friendica/friendica
synced 2025-04-22 07:50:11 +00:00
fix private images
This commit is contained in:
parent
ebfe536ded
commit
e00068334f
3 changed files with 47 additions and 6 deletions
|
@ -80,7 +80,7 @@ function bbcode($Text,$preserve_nl = false) {
|
|||
|
||||
// Images
|
||||
// [img]pathtoimage[/img]
|
||||
$Text = preg_replace("/\[img\](.+?)\[\/img\]/", '<img src="$1">', $Text);
|
||||
$Text = preg_replace("/\[img\](.+?)\[\/img\]/", '<img src="$1" alt="' . t('Image/photo') . '" />', $Text);
|
||||
|
||||
// html5 video and audio
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue