I'm using this code to fix the 'rounded by text images' problem:
$html = preg_replace("/(<img[\s|\S]*>)/Ui", "<table><tr><td>\\1</td></tr></table>", $html);
In this case, I transform all images in tables with imagens. This create a 'linebreak'...
Log in to post a comment.