aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Diekershoff <tobias.diekershoff@gmx.net>2012-02-23 11:12:36 +0100
committerTobias Diekershoff <tobias.diekershoff@gmx.net>2012-02-23 11:12:36 +0100
commit85d09f48d0bdddd43c8dd13c618cc714a679d141 (patch)
treee85e685b713ac9f3aa9d3e547d82e12cfb9c37f0
parentd9e9fd0359cb89416b486cbe9cb65f586abe6cd9 (diff)
downloadvolse-hubzilla-85d09f48d0bdddd43c8dd13c618cc714a679d141.tar.gz
volse-hubzilla-85d09f48d0bdddd43c8dd13c618cc714a679d141.tar.bz2
volse-hubzilla-85d09f48d0bdddd43c8dd13c618cc714a679d141.zip
fix img tag with size attribute
-rwxr-xr-xinclude/html2bbcode.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/html2bbcode.php b/include/html2bbcode.php
index 4297ff2f9..d8f1a24f1 100755
--- a/include/html2bbcode.php
+++ b/include/html2bbcode.php
@@ -204,7 +204,7 @@ function html2bbcode($message)
node2bbcode($doc, 'a', array('href'=>'/(.+)/'), '[url=$1]', '[/url]');
- node2bbcode($doc, 'img', array('src'=>'/(.+)/', 'width'=>'/(\d+)/', 'height'=>'/(\d+)/'), '[img$2x$3]$1', '[/img]');
+ node2bbcode($doc, 'img', array('src'=>'/(.+)/', 'width'=>'/(\d+)/', 'height'=>'/(\d+)/'), '[img=$2x$3]$1', '[/img]');
node2bbcode($doc, 'img', array('src'=>'/(.+)/'), '[img]$1', '[/img]');