]> git.mxchange.org Git - friendica.git/commitdiff
Merge pull request #46 from fabrixxm/master
authorfabrixxm <fabrix.xm@gmail.com>
Thu, 23 Feb 2012 10:52:04 +0000 (02:52 -0800)
committerfabrixxm <fabrix.xm@gmail.com>
Thu, 23 Feb 2012 10:52:04 +0000 (02:52 -0800)
more work on quattro theme and less html in php

include/html2bbcode.php

index 4297ff2f9d18812972281d5598c310cb9fc64c5f..d8f1a24f1328364a2e022b98ccf75861d7b80449 100755 (executable)
@@ -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]');