Fix missing arguments from renderUnescaped
This commit is contained in:
+2
-2
@@ -617,7 +617,7 @@ class Mustache {
|
|||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
protected function _renderEscaped($tag_name, $leading, $trailing) {
|
protected function _renderEscaped($tag_name, $leading, $trailing) {
|
||||||
return $leading . htmlentities($this->_renderUnescaped($tag_name), ENT_COMPAT, $this->_charset) . $trailing;
|
return htmlentities($this->_renderUnescaped($tag_name, $leading, $trailing), ENT_COMPAT, $this->_charset);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -888,4 +888,4 @@ class MustacheException extends Exception {
|
|||||||
// which can't be handled by this Mustache instance.
|
// which can't be handled by this Mustache instance.
|
||||||
const UNKNOWN_PRAGMA = 4;
|
const UNKNOWN_PRAGMA = 4;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user