Nextgen update to get html code in the title
authorLaury GvR <laury@gaslightmedia.com>
Tue, 4 Aug 2015 13:46:32 +0000 (09:46 -0400)
committerLaury GvR <laury@gaslightmedia.com>
Tue, 4 Aug 2015 13:46:32 +0000 (09:46 -0400)
nggallery/gallery-glmphotos.php

index 73e7cc3..e5131a3 100644 (file)
@@ -43,7 +43,7 @@ Follow variables are useable :
                     <?php
                     $imageTitle = !preg_match(';is\d{2,}-\d{10,}-\d{5,}$;', $image->alttext) ? $image->alttext: '';
                     ?>
-                    <span class="photoTitle" title="<?php echo esc_attr($imageTitle) ?>">
+                    <span class="photoTitle" title="<?php echo html_entity_decode(esc_attr($imageTitle)) ?>">
                         <?php if (!$image->hidden) { echo esc_attr($imageTitle); }?>
                     </span>
                             <?php } ?>