diff --git a/inc/template-tags.php b/inc/template-tags.php
index 5c6196fe..2379f3a1 100644
--- a/inc/template-tags.php
+++ b/inc/template-tags.php
@@ -1407,11 +1407,11 @@ function onepress_gallery_html( $data, $inner = true, $size = 'thumbnail' ) {
if ( $inner ) {
$html .= '';
$html .= '';
- $html .= '
';
+ $html .= '
';
$html .= '';
$html .= '';
} else {
- $html .= '
';
+ $html .= '
';
}
$html .= $close_tag_html;