summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPixel <pixel@nobis-crew.org>2011-11-29 18:00:44 -0800
committerPixel <pixel@nobis-crew.org>2011-11-29 18:00:44 -0800
commit04b473eebc2f1ab24b96fe62e4a5991e4dfb9bb4 (patch)
tree06b849ca20c098540ddda8d1620cf7e0b6188f1e
parentbe645274c6adf412b0e01aa664e8b29a3c91ea26 (diff)
Fixing a stupid bug in the escape() code of SimpleMustache.
-rw-r--r--src/SimpleMustache.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/SimpleMustache.cc b/src/SimpleMustache.cc
index 1288286..674cf71 100644
--- a/src/SimpleMustache.cc
+++ b/src/SimpleMustache.cc
@@ -519,6 +519,7 @@ Balau::String Balau::SimpleMustache::escape(const String & s) {
*p++ = ';';
break;
default:
+ *p++ = s[i];
break;
}
}