1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 20:58:30 +01:00

Fixes #2979 - Strip any HTML from Gallery breadcrumb

This commit is contained in:
Cameron 2018-01-15 14:36:52 -08:00
parent b50677d50a
commit 8c5a378966

View File

@ -71,7 +71,7 @@ class gallery_shortcodes extends e_shortcode
$template = e107::getTemplate('gallery', 'gallery', 'cat');
$caption = isset($template['caption']) ? $template['caption'] : LAN_PLUGIN_GALLERY_TITLE;
$caption = isset($template['caption']) ? e107::getParser()->toText($template['caption']) : LAN_PLUGIN_GALLERY_TITLE;
$breadcrumb[] = array('text' => $caption, 'url' => e107::getUrl()->create('gallery', $this->var));