contao/import — Issue #3608: Insert Tags doesn't work in the article teaser when included by an Insert Tag
Author: jantheofel
Created: 2011-11-29 21:53:07+00:00
State: open
Labels: Defect, framework

Insert Tags in the article teaser are not parsed if the article teaser itself is included by the {{article_teaser::xx}} Insert Tag.

Please change system/libraries/Controller.php, line 1813 from:

if ($objPage->outputFormat == 'xhtml')
{
$arrCache[$strTag] = $this->String->toXhtml($objTeaser->teaser);
}
else
{
$arrCache[$strTag] = $this->String->toHtml5($objTeaser->teaser);
}

To:

if ($objPage->outputFormat == 'xhtml')
{
$arrCache[$strTag] = $this->replaceInsertTags($this->String->toXhtml($objTeaser->teaser));
}
else
{
$arrCache[$strTag] = $this->replaceInsertTags($this->String->toHtml5($objTeaser->teaser));
}

--- _Originally created on November 7th, 2011, at 02:53pm (ID 3608)_