Browse Source

Ticket #4934 - Studio -> Pages: Page block title shouldn't be shown as link.

AntonLV 1 year ago
parent
commit
1a7e170bf1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      studio/template/scripts/BxBaseStudioBuilderPage.php

+ 1 - 1
studio/template/scripts/BxBaseStudioBuilderPage.php

@@ -187,7 +187,7 @@ class BxBaseStudioBuilderPage extends BxDolStudioBuilderPage
 
                 $aTmplVarsCell = array('id' => $i, 'bx_repeat:blocks' => array());
                 foreach($aBlocks as $aBlock) {
-                    $sTitle = !empty($aBlock['title_system']) ? _t($aBlock['title_system']) : $oPage->getBlockTitle($aBlock);
+                    $sTitle = strip_tags(!empty($aBlock['title_system']) ? _t($aBlock['title_system']) : $oPage->getBlockTitle($aBlock));
                     list($sIcon, $sIconUrl) = $this->getBlockIcon($aBlock);
 
                     $aTmplVarsCell['bx_repeat:blocks'][] = array(