Skip to content

Commit

Permalink
Merge branch 'master' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
bnu committed Oct 10, 2018
2 parents 7603148 + ece6052 commit b134c37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/template/TemplateHandler.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -995,7 +995,7 @@ private function _applyEscapeOption($str, $escape_option = 'noescape')
return "escape({$str}, false)";
case 'auto':
default:
return "(\$this->config->autoescape === 'on' ? escape({$str}, false) : {$str})";
return "(\$this->config->autoescape === 'on' ? escape({$str}, false) : ({$str}))";
}
}

Expand Down

0 comments on commit b134c37

Please sign in to comment.