Skip to content

Commit

Permalink
Dev Fixed self-closing script tag which is not allowed.
Browse files Browse the repository at this point in the history
  • Loading branch information
SamMousa committed Feb 5, 2014
1 parent e5d32cc commit 9c60292
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/helpers/replacements_helper.php
Expand Up @@ -781,7 +781,7 @@ function templatereplace($line, $replacements = array(), &$redata = array(), $de
$coreReplacements['SURVEYLISTHEADING'] = (isset($surveylist))?$surveylist['listheading']:'';
$coreReplacements['SURVEYNAME'] = (isset($thissurvey['name']) ? $thissurvey['name'] : '');
$coreReplacements['TEMPLATECSS'] = $_templatecss;
$coreReplacements['TEMPLATEJS'] = CHtml::tag('script', array('type' => 'text/javascript', 'src' => $templateurl . 'template.js'));
$coreReplacements['TEMPLATEJS'] = CHtml::tag('script', array('type' => 'text/javascript', 'src' => $templateurl . 'template.js'), '');
$coreReplacements['TEMPLATEURL'] = $templateurl;
$coreReplacements['THEREAREXQUESTIONS'] = $_therearexquestions;
$coreReplacements['TOKEN'] = (!$anonymized ? $_token : '');// Silently replace TOKEN by empty string
Expand Down

0 comments on commit 9c60292

Please sign in to comment.