From: Tobias Diekershoff Date: Thu, 23 Feb 2012 10:12:36 +0000 (+0100) Subject: fix img tag with size attribute X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=85d09f48d0bdddd43c8dd13c618cc714a679d141;p=friendica.git fix img tag with size attribute --- diff --git a/include/html2bbcode.php b/include/html2bbcode.php index 4297ff2f9d..d8f1a24f13 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]');