aboutsummaryrefslogtreecommitdiffstats
path: root/include/bbcode.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-04-30 17:24:37 -0700
committerFriendika <info@friendika.com>2011-04-30 17:24:37 -0700
commite00068334f414b42cd7a25c594a47efb86d5bb2f (patch)
tree6b4c9ab249c3fcbdd09a9e7fbce6bc7aa5533781 /include/bbcode.php
parentebfe536dedc796b9aa56e3bc3c9a890e77706d54 (diff)
downloadvolse-hubzilla-e00068334f414b42cd7a25c594a47efb86d5bb2f.tar.gz
volse-hubzilla-e00068334f414b42cd7a25c594a47efb86d5bb2f.tar.bz2
volse-hubzilla-e00068334f414b42cd7a25c594a47efb86d5bb2f.zip
fix private images
Diffstat (limited to 'include/bbcode.php')
-rw-r--r--include/bbcode.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/bbcode.php b/include/bbcode.php
index 6fadbaf7e..89a14988a 100644
--- a/include/bbcode.php
+++ b/include/bbcode.php
@@ -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