diff --git a/html/file.html b/html/file.html
index 7b957541..65ac7926 100644
--- a/html/file.html
+++ b/html/file.html
@@ -1,8 +1,8 @@
diff --git a/html/path.html b/html/path.html
index a262144f..bc22a2c2 100644
--- a/html/path.html
+++ b/html/path.html
@@ -1 +1 @@
-
{path}
\ No newline at end of file
+
{{ path }}
diff --git a/lib/util.js b/lib/util.js
index c198141f..9ed142a2 100644
--- a/lib/util.js
+++ b/lib/util.js
@@ -556,9 +556,11 @@ Util = exports || {};
* @pSymbols
*/
Util.ownRender = function(pTempl, pView, pSymbols) {
+ var SPACES = '\\s*';
+
if (!pSymbols)
- pSymbols = ['{', '}'];
-
+ pSymbols = ['{{' + SPACES, SPACES + '}}'];
+
var lRet = pTempl,
lFirstChar,
lSecondChar;
@@ -570,7 +572,7 @@ Util = exports || {};
var lStr = pView[lVar];
lStr = Util.exec(lStr) || lStr;
- lRet = Util.replaceStr(lRet, lFirstChar + lVar + lSecondChar, lStr);
+ lRet = Util.replaceStr(lRet, lFirstChar + lVar + lSecondChar, lStr, true);
}
return lRet;