aboutsummaryrefslogtreecommitdiffstats
path: root/include/bbcode.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-04-08 05:19:54 -0700
committerfriendica <info@friendica.com>2012-04-08 05:19:54 -0700
commitc3867f4ce4249079e1dba04ebfdc74457afbee7b (patch)
tree72be41253ec910e6488e34bb5181c359036da9dd /include/bbcode.php
parente3b2ac0735c908357dafb8670339fd34d3e2e6c0 (diff)
parentce0eac44b5035b8f46259b6665826a94b633ec4e (diff)
downloadvolse-hubzilla-c3867f4ce4249079e1dba04ebfdc74457afbee7b.tar.gz
volse-hubzilla-c3867f4ce4249079e1dba04ebfdc74457afbee7b.tar.bz2
volse-hubzilla-c3867f4ce4249079e1dba04ebfdc74457afbee7b.zip
Merge pull request #214 from annando/master
API, Locking, some changes to "vier"
Diffstat (limited to 'include/bbcode.php')
-rw-r--r--include/bbcode.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/bbcode.php b/include/bbcode.php
index 9befbd0f7..3697f1fc5 100644
--- a/include/bbcode.php
+++ b/include/bbcode.php
@@ -230,7 +230,8 @@ function bbcode($Text,$preserve_nl = false) {
$Text);
// [img=widthxheight]image source[/img]
- $Text = preg_replace("/\[img\=([0-9]*)x([0-9]*)\](.*?)\[\/img\]/ism", '<img src="$3" style="height: $2px; width: $1px;" >', $Text);
+ //$Text = preg_replace("/\[img\=([0-9]*)x([0-9]*)\](.*?)\[\/img\]/ism", '<img src="$3" style="height: $2px; width: $1px;" >', $Text);
+ $Text = preg_replace("/\[img\=([0-9]*)x([0-9]*)\](.*?)\[\/img\]/ism", '<img src="$3" style="width: $1px;" >', $Text);
// Images
// [img]pathtoimage[/img]