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:
parent
b50677d50a
commit
8c5a378966
@ -71,7 +71,7 @@ class gallery_shortcodes extends e_shortcode
|
|||||||
|
|
||||||
$template = e107::getTemplate('gallery', 'gallery', 'cat');
|
$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));
|
$breadcrumb[] = array('text' => $caption, 'url' => e107::getUrl()->create('gallery', $this->var));
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user