summaryrefslogtreecommitdiff
path: root/smartyplugins/block.jstab.php
diff options
context:
space:
mode:
authorspiderr <spiderr@bitweaver.org>2018-04-26 12:04:45 -0400
committerspiderr <spiderr@bitweaver.org>2018-04-26 12:04:45 -0400
commit450be38af6f1ae10b8a53f7d760e3bdc0dcd2d46 (patch)
treeda4ea246f464400235580f998192df931efde143 /smartyplugins/block.jstab.php
parent5fcef123390163192665f67e5a372c06f7737adb (diff)
downloadthemes-450be38af6f1ae10b8a53f7d760e3bdc0dcd2d46.tar.gz
themes-450be38af6f1ae10b8a53f7d760e3bdc0dcd2d46.tar.bz2
themes-450be38af6f1ae10b8a53f7d760e3bdc0dcd2d46.zip
remove .htmlspecialchars from jstab since smarty 3 will encode
Diffstat (limited to 'smartyplugins/block.jstab.php')
-rw-r--r--smartyplugins/block.jstab.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/smartyplugins/block.jstab.php b/smartyplugins/block.jstab.php
index bbeb58f..c89f5d7 100644
--- a/smartyplugins/block.jstab.php
+++ b/smartyplugins/block.jstab.php
@@ -25,7 +25,7 @@ function smarty_block_jstab( $pParams, $pContent, &$gBitSmarty, $pRepeat ) {
$tabId = strtolower( isset( $pParams['id'] ) ? $pParams['id'] : 'tab'.preg_replace("/[^A-Za-z0-9]/", '', $tTitle) );
- $tabString = '<li '.$tClick.' '.$tClass.' '.$tStyle.'><a href="#'.$tabId.'" data-toggle="'.$type.'">' . htmlspecialchars( $tTitle ) . '</a></li>';
+ $tabString = '<li '.$tClick.' '.$tClass.' '.$tStyle.'><a href="#'.$tabId.'" data-toggle="'.$type.'">' . $tTitle . '</a></li>';
if( isset( $pParams['position'] ) ) {
array_splice( $jsTabLinks, $pParams['position'], 0, $tabString );
} else {