aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-09-18 00:19:19 -0700
committerFriendika <info@friendika.com>2011-09-18 00:19:19 -0700
commit309df8417206ed934961a1e2f26b2ca4e57418b3 (patch)
tree382782cced6893ad3fbc23d33e628eff5ccea53c /include
parent5f4ab62fe330a714777fecae88465e83331abed1 (diff)
downloadvolse-hubzilla-309df8417206ed934961a1e2f26b2ca4e57418b3.tar.gz
volse-hubzilla-309df8417206ed934961a1e2f26b2ca4e57418b3.tar.bz2
volse-hubzilla-309df8417206ed934961a1e2f26b2ca4e57418b3.zip
again fix bbcode image sizes
Diffstat (limited to 'include')
-rw-r--r--include/bbcode.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/bbcode.php b/include/bbcode.php
index 3d6b907a6..cbe19de54 100644
--- a/include/bbcode.php
+++ b/include/bbcode.php
@@ -114,7 +114,7 @@ function bbcode($Text,$preserve_nl = false) {
$Text = preg_replace("/\[quote\](.*?)\[\/quote\]/ism","$QuoteLayout", $Text);
// [img=widthxheight]image source[/img]
- $Text = preg_replace("/\[img\=([0-9]*)x([0-9]*)\](.*?)\[\/img\]/ism", '<img src="$3" style="height:{$2}px; width:{$1}px;" >', $Text);
+ $Text = preg_replace("/\[img\=([0-9]*)x([0-9]*)\](.*?)\[\/img\]/ism", '<img src="$3" style="height: $2px; width: $1px;" >', $Text);
// Images
// [img]pathtoimage[/img]