includes/render.php
changeset 67 f6454d5fec7a
parent 66 52017732bc20
child 73 0a74676a2f2f
equal deleted inserted replaced
66:52017732bc20 67:f6454d5fec7a
   856         
   856         
   857         $complete_tag .= '</div>';
   857         $complete_tag .= '</div>';
   858       }
   858       }
   859       else if ( $caption == '|raw' )
   859       else if ( $caption == '|raw' )
   860       {
   860       {
   861         $complete_tag .= $img_tag;
   861         $complete_tag .= "$img_tag";
       
   862         $taglist[$i] = $complete_tag;
       
   863         
       
   864         $repl = "{$s_delim}e_img_{$i}{$f_delim}";
       
   865         $text = str_replace($full_tag, $repl, $text);
       
   866         continue;
   862       }
   867       }
   863       else
   868       else
   864       {
   869       {
   865         $complete_tag .= '<a href="' . makeUrlNS('File', $filename) . '" style="display: block;">';
   870         $complete_tag .= '<a href="' . makeUrlNS('File', $filename) . '" style="display: block;">';
   866         $complete_tag .= $img_tag;
   871         $complete_tag .= $img_tag;