diff options
author | Tobias Diekershoff <tobias.diekershoff@gmx.net> | 2012-02-23 11:12:36 +0100 |
---|---|---|
committer | Tobias Diekershoff <tobias.diekershoff@gmx.net> | 2012-02-23 11:12:36 +0100 |
commit | 85d09f48d0bdddd43c8dd13c618cc714a679d141 (patch) | |
tree | e85e685b713ac9f3aa9d3e547d82e12cfb9c37f0 /include/html2bbcode.php | |
parent | d9e9fd0359cb89416b486cbe9cb65f586abe6cd9 (diff) | |
download | volse-hubzilla-85d09f48d0bdddd43c8dd13c618cc714a679d141.tar.gz volse-hubzilla-85d09f48d0bdddd43c8dd13c618cc714a679d141.tar.bz2 volse-hubzilla-85d09f48d0bdddd43c8dd13c618cc714a679d141.zip |
fix img tag with size attribute
Diffstat (limited to 'include/html2bbcode.php')
-rwxr-xr-x | include/html2bbcode.php | 2 |
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]'); |