update
authorSteve Sutton <steve@gaslightmedia.com>
Mon, 8 Feb 2010 20:18:49 +0000 (20:18 +0000)
committerSteve Sutton <steve@gaslightmedia.com>
Mon, 8 Feb 2010 20:18:49 +0000 (20:18 +0000)
classes/class_template.inc

index d305168..48a249a 100644 (file)
@@ -2567,7 +2567,7 @@ class GLM_TEMPLATE
                        }
                        $img .= ' src="'.$size.$image.'" '.$titletag.'>';
                        if ($caption) {
-                               $img .= '<div class="imagecaption">'.$caption.'</div>';
+                               $img .= '<div class="imagecaption"><p>'.$caption.'</p></div>';
                        }
                        $img .= '</div>';
                        return $img;