mirror of
https://github.com/e107inc/e107.git
synced 2025-04-15 18:14:07 +02:00
Fixes #3860 - remove from magic shortcode 'caption'
This commit is contained in:
parent
750fb4a4e0
commit
4c2762d7b9
12
class2.php
12
class2.php
@ -1196,13 +1196,13 @@ if (!class_exists('e107table', false))
|
||||
|
||||
$options = $this->getContent();
|
||||
|
||||
$options['uniqueId'] = $this->uniqueId;
|
||||
$options['menuArea'] = $this->eMenuArea;
|
||||
$options['menuCount'] = $this->eMenuCount;
|
||||
$options['menuTotal'] = varset($this->eMenuTotal[$this->eMenuArea]);
|
||||
$options['setStyle'] = $this->eSetStyle;
|
||||
$options['uniqueId'] = (string) $this->uniqueId;
|
||||
$options['menuArea'] = (int) $this->eMenuArea;
|
||||
$options['menuCount'] = (int) $this->eMenuCount;
|
||||
$options['menuTotal'] = (int) varset($this->eMenuTotal[$this->eMenuArea]);
|
||||
$options['setStyle'] = (string) $this->eSetStyle;
|
||||
|
||||
$options['caption'] = $caption; // TODO FIXME strip HTML but retain text that may be inside tags.
|
||||
$options['caption'] = e107::getParser()->toText($caption);
|
||||
|
||||
if($this->eSetStyle === 'default' || $this->eSetStyle === 'main')
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user