10.05.2018, 18:18
Ich glaube, ich habs.. jedenfalls lokal bei mir scheint es zu klappen.
Diese Zeile
ändern zu:
Diese Zeile
PHP-Code:
$pattern = '/<img src="(' . $protocol . '[^<>"\']+)"((?: width="[0-9]+" height="[0-9]+")?(?: border="0")? alt="([^<>"\']+)" ?(?: style="float: (left|right);")?(?: class="mycode_img")? ?)\/>/i';
ändern zu:
PHP-Code:
$pattern = '/<img src="(' . $protocol . '[^<>"\']+)"((?: width="[0-9]+" height="[0-9]+")?(?: border="0")?(?: alt="([^<>"\']+)")?(?: style="float: (left|right);")?(?: class="[^<>"\']+")? ?)\/?>/i';