diff --git a/functions.php b/functions.php index fff86a7..e058a1b 100644 --- a/functions.php +++ b/functions.php @@ -1519,8 +1519,8 @@ function html_tag_parser($content) { //With Thumbnail: !{alt}(url)[th_url] if (preg_match_all('/\!\{.*?\)\[.*?\]/i', $content,$matches)){ $i=0; - foreach ($matches as $val) { - $content=str_replace($val[$i],preg_replace( + if ($i', - $val[$i]), + $matches[$i]), $content); $i++; }