diff --git a/render/render_html.py b/render/render_html.py
index 2ac3d2a..0b7e7cc 100644
--- a/render/render_html.py
+++ b/render/render_html.py
@@ -291,7 +291,7 @@ def get_value(self, key, args, kwargs):
val = kwargs.get(key)
if isinstance(val, dict):
return DotMap(val)
- return val
+ return escape(val)
class DotMap(dict):
@@ -301,4 +301,4 @@ def __getattr__(self, attr):
val = self.get(attr)
if isinstance(val, dict):
return DotMap(val)
- return val
+ return escape(val)